Move down 1 cell after going to the end of my data.

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

Guest

Please can someone let me know what I should enter to move down to the next
cell in my macro,instead of it moving to a specific cell. I recorded the
following, but instead of going to cell A15 i want to go down to the next
cell.
Many Thanks in advance.

Selection.End(xlDown).Select
Range("A15").Select
 
Please can someone let me know what I should enter to move down to the next
cell in my macro,instead of it moving to a specific cell. I recorded the
following, but instead of going to cell A15 i want to go down to the next
cell.
Many Thanks in advance.

Selection.End(xlDown).Select
Range("A15").Select

Try Selection.Offset(1,0).Select

or more tersely

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

HTH,

Mike
 
Selection.End(xlDown)(2, 1).Select

An Offset feature (2=nextrow,1=same column). (1, 1) would be no offset.

Mike F
 
If you are saying you want to copy the formula from B8 then

Selection.Offset(1,0).Select
activecell.offset(-1,0).copy activecell

possibly.
 

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