Hi clever people,
I am using the following to determine the last row on my data sheets. It works fine but if rows are deleted, the code will still return the original number of rows??? What can I do please.
lstRw = ActiveCell.SpecialCells(xlCellTypeLastCell).Row
Cheers
I am using the following to determine the last row on my data sheets. It works fine but if rows are deleted, the code will still return the original number of rows??? What can I do please.
lstRw = ActiveCell.SpecialCells(xlCellTypeLastCell).Row
Cheers