Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All,
I can refer to one column with its number like this: colNo = 2 Columns(colNo).Delete Shift:=xlToLeft How can I refer to more than one columns without converting column numbers to column letters, something like this: colNoFrom = 2 colNoTo = 5 Columns(colNoFrom:colNoTo).Delete Shift:=xlToLeft Thanks, Stefi |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Referring to columns from within a macro | Excel Discussion (Misc queries) | |||
Referring to merged columns in range object | Excel Programming | |||
Referring to non constant columns | Excel Programming | |||
Number of Columns | Excel Discussion (Misc queries) | |||
referring to columns/cells using numbers | Excel Programming |