MACRO - go UP or DOWN

D

DAA

Please help me write the macro to move ONE cell UP or DOWN.

The following macro moves ONE cell to the RIGHT:
ActiveCell.Next.Select

The following macro moves ONE cell to the LEFT:
ActiveCell.Previous.Select

I can't figure a similar macro to move ONE cell UP or DOWN.

Thanks in advance.
 
H

Harald Staff

DAA said:
Please help me write the macro to move ONE cell UP or DOWN.

Activecell.Offset(1, 0).Select
Activecell.Offset(-1, 0).Select

HTH. Best wishes Harald
 

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

Top