Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi. How can I refer to the column in a range statement? For instance, the
column could be "AO" and I can get the column number, but I don't know how to refer to it in the following Range statement. Note that the column will change. I do have a variable called "ColNum" Range("B1:AO4") Thanks, Mike. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Range("B1",.cells(4,colnum))
would be one way. Mike D. wrote: Hi. How can I refer to the column in a range statement? For instance, the column could be "AO" and I can get the column number, but I don't know how to refer to it in the following Range statement. Note that the column will change. I do have a variable called "ColNum" Range("B1:AO4") Thanks, Mike. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to refer to a range except one cell | Excel Discussion (Misc queries) | |||
refer to range in another sheet | Excel Discussion (Misc queries) | |||
Refer to rows in a range | Excel Programming | |||
How do I refer a Range to a Cell | Excel Worksheet Functions | |||
How do I use if statement when I must refer to a cell that has te. | Excel Worksheet Functions |