D
Dennis
I have a row of column strings.
To find the number of columns in row 1 I would use:
Maxcol = sheets(1).Range("A1").End(xlToRight).Column
However, if one of the column labels before the end is "" (empty) then the
Maxcol stops there.
How do you find the true number of columns if some of the column labels are ""
but the last column label in the row exists?
Do you have to loop through all 256 possible columns in a for loop checking for
the end or is there a simpler way?
Thanks for any help.
Dennis
To find the number of columns in row 1 I would use:
Maxcol = sheets(1).Range("A1").End(xlToRight).Column
However, if one of the column labels before the end is "" (empty) then the
Maxcol stops there.
How do you find the true number of columns if some of the column labels are ""
but the last column label in the row exists?
Do you have to loop through all 256 possible columns in a for loop checking for
the end or is there a simpler way?
Thanks for any help.
Dennis