Declaring a Range

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Within a macro I want use the offset command and then return to a cell.

I have declared the variable CurrCell as Range

then

Set CurrCell = Range(Activecell)

and then I want to be able to return to CurrCell after offsetting around the
worksheet.

Any ideas?
 
Dim CurrCell as Range
Set CurrCell = ActiveCell

' offset around the worksheet

CurrCell.Select
 

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