Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello:
I'm trying to tell Excel to select multiple columns, but a want only the cells in the data range selected. If I use the following it selects the entire column - Range("Z:Z,AP:AP").Select which is close but I want it to select only as far as the last row of data. What I am trying to get is - Last = LRow(WS) Range("Z3:Z" & Last,"AP3:AP" & Last).Select But it selects everything as if I had entered Range("Z3:AP"&Last).Select Any help is greatly appreciated. I guess I don't quite understand how the Range function works. Steven |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Select Multiple Ranges with Certain Data to Print | Excel Programming | |||
select multiple ranges in formula | Excel Discussion (Misc queries) | |||
How to select multiple ranges in Excel with vbs | Excel Programming | |||
in charting, how do i select data ranges from multiple sheets, sa. | Charts and Charting in Excel | |||
select multiple cell ranges in "sumif" formula? | Excel Worksheet Functions |