Expanding Selection Range

  • Thread starter Thread starter Jim May
  • Start date Start date
J

Jim May

In my code the current range that is selection via
Selection. is A5:C3000; what next line of code
would change the Selection to A5:D3000? (one additional
column to be included)
TIA,
Jim May
 
Frank,
You can't resize the selection to zero rows. Not sure where you were going
with this, but it was/is the wrong direction.

Selection.Resize(,4) perhaps.
 
Hi Tom
correct, thanks for the correction (forgot to remove the zero)
 
Perfect Tom!
Tks again and agian...
Jim May

-----Original Message-----
selection.Resize(,selection.columns.count+1).Select

--
Regards,
Tom Ogilvy




.
 

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