Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following code that crashes:
' Note ActiveCell is set in Column "B" and lastrow in column +1 For z = 1 to 26 ActiveCell.value = Application.WorksheetFunction.CountBlank( _ Range(Cells(z + 1, 2), Cells(z + 1, lastrow_in_col))) ActiveCell.Offset(0, 1).Select ' move right by one col Next z Where lastrow_in_col = 3005 column range begins at "B" and ends at "AA" My range address is wrong |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA and range addressing | Excel Discussion (Misc queries) | |||
VBA Range Addressing in For Loop | Excel Programming | |||
Range Issue | Excel Programming | |||
how do i maintain named range addressing after deleting row? | Excel Programming | |||
indirect addressing? a range of cells | Excel Programming |