I am using the following line of code to go to the last row/column of some data in excel:
ActiveCell.SpecialCells(xlLastCell).Select
In this example, my active cell ends up being X135, though on some other sheets on which this macro will be run it could be a different row & column. All I want to do now is move the activecell to the first column of this last row - in this example, move to A135.
I think this should be easy, but I'm new and my hours of searching have come up blank. Any suggestions? Thanks, Dan
ActiveCell.SpecialCells(xlLastCell).Select
In this example, my active cell ends up being X135, though on some other sheets on which this macro will be run it could be a different row & column. All I want to do now is move the activecell to the first column of this last row - in this example, move to A135.
I think this should be easy, but I'm new and my hours of searching have come up blank. Any suggestions? Thanks, Dan