I cannot figure out why, but the below snippet is copying the whole worksheet (except for row 3). I use this same structure throughout the tool I'm building, and don't have this issue, so is there something I should look at on the source file (sD)?
• A message box shows that B2 is being read properly.
• sDLR is returning the correct last row (2)
VBA Code:
'Populates the Account column.
With sD.Range("B2:B" & sDLR).SpecialCells(xlCellTypeVisible).Copy
mD.Range("G" & mDLR + 1).PasteSpecial xlPasteValues
End With
• A message box shows that B2 is being read properly.
• sDLR is returning the correct last row (2)