Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Selecting ranges with Cells()
Can someone tell me how to specify a range with the Cells command?
On the spreadsheet level, you can use OFFSET to not only specify the offset cell starting point, but also how many cells across and down you'd like to reference. (i.e. "=OFFSET(A1,0,0,1,5)") In VBA, the Offset only seems to let you specify the offset cell. I'd like to be able to specify a range with a single Cells command like: Cells(1,1).Offset(0,0,1,5).Select ' Select A1:E1 What syntax would I use to designate a range using Cells? Thanks! John |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Selecting First and Last Cells in Ranges | Excel Programming | |||
Selecting multiple ranges using 'Cells' notation | Excel Programming | |||
Selecting ranges of cells | Excel Programming | |||
Selecting ranges | Excel Programming | |||
Selecting two ranges of unadjacent cells | Excel Programming |