hello everyone:
I am a certified excel expert but kind of new to VBA world. I have a simple VBA code but keep getting the error message "Object ......"
Sub test()
ThisWorkbook.Sheets("Henry").Cells(Rows.Count, 1).End(xlUp).Row
End Sub
I have an excel workbook with a worksheet name called Henry. when I run the code why do I get the error message?
thanks for help!
Henry
I am a certified excel expert but kind of new to VBA world. I have a simple VBA code but keep getting the error message "Object ......"
Sub test()
ThisWorkbook.Sheets("Henry").Cells(Rows.Count, 1).End(xlUp).Row
End Sub
I have an excel workbook with a worksheet name called Henry. when I run the code why do I get the error message?
thanks for help!
Henry