Thread
:
Ctrl+End with VBA
View Single Post
#
1
Posted to microsoft.public.excel.programming
Paul D. Simon
external usenet poster
Posts: 46
Ctrl+End with VBA
I believe this 1-line code should do what you're looking for.
ActiveCell.SpecialCells(xlLastCell).Select
or as an alternative, this 1 line should work also.
ActiveCell.SpecialCells(xlCellTypeLastCell).Select
Reply With Quote
Paul D. Simon
View Public Profile
Find all posts by Paul D. Simon