Select Variable Number of Columns
I want to select a variable number of columns.
Hi. One way:
Sub Demo()
Dim n
n = 5
Columns(3).Resize(, n).Hidden = True
End Sub
--
HTH :)
Dana DeLouis
"Mike H." wrote in message
...
I want to select a variable number of columns. I know I want to start in
Column C (3) and I know how many columns out I wish to go but I can't seem
to
figure out the right syntax for selecting these columns. After selection
I
wish to hide them.
|