Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hi all At the end of a macro , I need to select all the cells with content in the worksheet excluding the first row. The problem is that the amount of rows and columns to be selected will vary each time I run the macro. Sometimes it might need to select for example cells A2:Z270 , or next time it might need to select cells A2:Y4785 and so on. Can someone help with some code to select all the cells with content via variables , whatever the spread , at the end of my macro? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Insert a variable dependant on content of specific cells | Excel Discussion (Misc queries) | |||
Selecting range of cells to copy using a variable | Excel Programming | |||
Excel Shortcuts - Selecting all cells with the same content | Excel Discussion (Misc queries) | |||
selecting range of cells - variable # of rows | Excel Programming | |||
Selecting a variable number of cells in a row | Excel Programming |