Cell Selection

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

Guest

I am trying to add text after the last row that has data. I can get to the
last occupied cell with the command
Selection.End(xlDown).Select

How do I get to the next cell below?
 
Using what you have here you would want to add the following line of code...
Selection.End(xlDown).Select
activecell.offset(1,0).select

or you could just modify the current line of code as follows:

Selection.End(xlDown).offset(1,0).Select

HTH
 
Chris

Selection.End(xlDown).Offset(1,0).Select

Regards

Trevor
 
Thanks.

Jim Thomlinson said:
Using what you have here you would want to add the following line of code...
Selection.End(xlDown).Select
activecell.offset(1,0).select

or you could just modify the current line of code as follows:

Selection.End(xlDown).offset(1,0).Select

HTH
 

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