Jun 26, 2001 #1 inf33323 Technical User Joined Apr 24, 2001 Messages 26 Location DE Hi, is there any method that retrieves the last row in a workbook? Thanks in advance.
Jun 26, 2001 #2 Store300 Technical User Joined Apr 5, 2001 Messages 63 Location GB You can use: ActiveCell.SpecialCells (xlCellTypeLastCell) or ActiveCell.End (xlDown) Store300 Store300@ftnetwork.com Upvote 0 Downvote
You can use: ActiveCell.SpecialCells (xlCellTypeLastCell) or ActiveCell.End (xlDown) Store300 Store300@ftnetwork.com
Jul 9, 2001 #3 Guest_imported New member Joined Jan 1, 1970 Messages 0 To actually get the row number, you would need to do something like this: Code: ActiveSheet.Cells.SpecialCells(xlCellTypeLastCell).Row Upvote 0 Downvote
To actually get the row number, you would need to do something like this: Code: ActiveSheet.Cells.SpecialCells(xlCellTypeLastCell).Row