.cells question
dim iCol as long
for icol = 9 to 15
'do what you want...
.range(.cells(cstartrow,icol),.cells(cstartrow+nro ws,icol)).filldown
next icol
Mona wrote:
I have this formula:
.Range(.Cells(cStartRow, 9), .Cells(cStartRow + nRows, 9)).FillDown
cStartRow=12 and nRows=counter that counts the number of rows. 9=column.
I want to use this formula for column 9 through 15. I could repeat formula
7 times and change the column number but surely there is a better way!
Thanks in advance!
--
Dave Peterson
|