Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In VB can the Column parameter in .Cells(Row,Column) be expressed in
numerical format to signify an area of contiguous columns. If so, what is the expression format. I would like to express Columns 4 thru 21 without using a do-loop. Bob Carter Douglas, MA USA |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Do something like:
Range(Cells(Row,4),Cells(Row,21)) HTH Otto "Trebor Retrac" wrote in message ... In VB can the Column parameter in .Cells(Row,Column) be expressed in numerical format to signify an area of contiguous columns. If so, what is the expression format. I would like to express Columns 4 thru 21 without using a do-loop. Bob Carter Douglas, MA USA |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
or
Cells(Row,4).Resize(,10) -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Otto Moehrbach" wrote in message ... Do something like: Range(Cells(Row,4),Cells(Row,21)) HTH Otto "Trebor Retrac" wrote in message ... In VB can the Column parameter in .Cells(Row,Column) be expressed in numerical format to signify an area of contiguous columns. If so, what is the expression format. I would like to express Columns 4 thru 21 without using a do-loop. Bob Carter Douglas, MA USA |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Thank You both Otto and Bob. Bob Carter |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Display cells(text) in one column based on cells which are present inother column | Excel Discussion (Misc queries) | |||
Copying a column of single cells into a column of merged cells | Excel Discussion (Misc queries) | |||
Counting cells using multiple parameters | Excel Discussion (Misc queries) | |||
Count cells in one range based on parameters in another range | Excel Worksheet Functions | |||
macro to transpose cells in Column B based on unique values in Column A | Excel Programming |