![]() |
.Cells(Row,Column) parameters
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 |
.Cells(Row,Column) parameters
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 |
.Cells(Row,Column) parameters
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 |
.Cells(Row,Column) parameters
Thank You both Otto and Bob. Bob Carter |
All times are GMT +1. The time now is 03:39 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com