B
Bill Roberts
I want to do a select case that picks a specific column based on another,
independent variable. Something like:
select case colno
case1
if a=1 then colno="C" (Select column C)
if a=2 then colno="M", etc.
Then I want to do a range select, such as range(2,colno).select, or
range("colno,2").select, or something similar. I have tried all the
combinations and quotes I can think of but no luck. Is there a correct
format to use something other than range("C2").select to select that cell?
TIA Bill Roberts
independent variable. Something like:
select case colno
case1
if a=1 then colno="C" (Select column C)
if a=2 then colno="M", etc.
Then I want to do a range select, such as range(2,colno).select, or
range("colno,2").select, or something similar. I have tried all the
combinations and quotes I can think of but no luck. Is there a correct
format to use something other than range("C2").select to select that cell?
TIA Bill Roberts