Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi all, I know how to get the last row with the column "hard coded" IE: Code: -------------------- Sub Example1() Cells(Cells.Rows.Count, "A").End(xlUp).Select End Sub -------------------- But instead of hard coding a column i want to select the column. something like: Code: -------------------- Sub Example2() Cells(Cells.Rows.Count, "With Selection").End(xlUp).Select End Sub -------------------- It dosen't work of course. Any direction on this would be appreciated. Thx Dave -- Desert Piranha ------------------------------------------------------------------------ Desert Piranha's Profile: http://www.excelforum.com/member.php...o&userid=28934 View this thread: http://www.excelforum.com/showthread...hreadid=487496 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Protect selected column | Excel Discussion (Misc queries) | |||
HOW DO I ALPHABETIZ A SELECTED COLUMN | Excel Worksheet Functions | |||
Don't run if entire column is selected | Excel Programming | |||
Is column selected | Excel Programming | |||
how to know the column/row of a selected cell in vba? | Excel Programming |