Contiguous Column Selection using variables

  • Thread starter Thread starter Leslie Payne
  • Start date Start date
L

Leslie Payne

Hello,

I am looking for a way to select 28 contiguous columns using
variables.

x = Activecell.Column

I would like to select the column after x (say 22, through 40)

I know the following works:
Columns(x+1).select would only select the first column but how do I
select the remaining 28 columns?

Thank you
Leslie
 
Leslie said:
Hello,

I am looking for a way to select 28 contiguous columns using
variables.

x = Activecell.Column

I would like to select the column after x (say 22, through 40)

I know the following works:
Columns(x+1).select would only select the first column but how do I
select the remaining 28 columns?

Thank you
Leslie
23 through is only 18 columns.

Alan Beban
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top