C
CWatters
I have a named range of cells that I wish to process with a For-Next
loop. Lets say the range A1:A96532 is named TempX
I can obviously write
Def i Long
For i = 1 to 96532
' do something
Next
but there must be a better way that involves getting the length of the
named range automatically. Does something like this work..
Def i Long
For i = 1 to count("TempX")
' do something
Next
Thanks
loop. Lets say the range A1:A96532 is named TempX
I can obviously write
Def i Long
For i = 1 to 96532
' do something
Next
but there must be a better way that involves getting the length of the
named range automatically. Does something like this work..
Def i Long
For i = 1 to count("TempX")
' do something
Next
Thanks