I'm trying to find the number of the first empty row in my sheet in the excel via vbscript. Can some one help me out how to do that? that's what I did:
With objSheet
iRow = .Range("A" & .Rows.Count).End(xlUp).Row
End With
msgbox iRow
It's not working well if the sheet is empty. Thanks!