T
Tippy
I would appreciate any advice on how to iterate through all the columns
easily. Currently, I am using the Asc(-character- ) to iterate to the
next column. However, I run into a problem after column Z, since now
the columns are not labeled with just one character (i.e. next column
is labeled "AA"). To clarify, I have posted a snippet of my code:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For t = Asc("C") To Asc("F") + numIter + 4
Results.Range(Chr(t) & 2 & ":" & Chr(t) & numPlanes + 1).Value =
Null
Next t
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This code will only work up to column Z, then it will error since the
column Chr(Asc(Z) + 1) does not exist.
Thanks.
easily. Currently, I am using the Asc(-character- ) to iterate to the
next column. However, I run into a problem after column Z, since now
the columns are not labeled with just one character (i.e. next column
is labeled "AA"). To clarify, I have posted a snippet of my code:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For t = Asc("C") To Asc("F") + numIter + 4
Results.Range(Chr(t) & 2 & ":" & Chr(t) & numPlanes + 1).Value =
Null
Next t
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This code will only work up to column Z, then it will error since the
column Chr(Asc(Z) + 1) does not exist.
Thanks.