AlexanderBB
Well-known Member
- Joined
- Jul 1, 2009
- Messages
- 2,131
- Office Version
- 2019
- 2010
- Platform
- Windows
According to various posts this should work
LastRowNum = Cells(Rows.Count, 1).End(xlUp).Row
In my sheet it returns 27 even though there is data in Row 28 but not in Column 1.
Is there a method to find the last row with data in any column? It could be any col from A to S.
LastRowNum = Cells(Rows.Count, 1).End(xlUp).Row
In my sheet it returns 27 even though there is data in Row 28 but not in Column 1.
Is there a method to find the last row with data in any column? It could be any col from A to S.