Hi I need help with this one line in my VBA:
lastrow = wsTarget.Range("X65536").End(xlUp).Row
MsgBox lastrow
wsTarget
is the worksheet i am working on, I want to know what is the last row of data. By looking at the sheet, the last line should be 9; however, it keeps returning 1 to me. Am I doing something wrong?