Defining a range

  • Thread starter Thread starter JDBAZ
  • Start date Start date
J

JDBAZ

How do I select a range defined as the currently-selected cell to a cell a
specified number of cells away, both vertically and horizontally?
 
I'm not sure how you will want to specify the new cell's coordinates, so
I'll leave the method and math to you; however, you would use something like
this...

ActiveCell.Resize(5, 3).Select

When executed, the Selection will start with the ActiveCell and be 5 rows
deep by 3 columns across.

Rick
 

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