GO TO

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

Guest

Is it possible to create a Macro which when activated will move the active
cell to the equivalent cell in the same row in a different columns.

E.g. If the user is in cell A25 if the macro is run the user will be moved
to cell AA25

Thanks
 
Try

Sub move2I()
Cells(ActiveCell.Row, 9).Select
End Sub

Jerry
 
Jerry W. Lewis said:
Try

Sub move2I()
Cells(ActiveCell.Row, 9).Select
End Sub ....

Picky: Jerry's macro would move from A25 to I25 rather than AA25. If there's
a pattern to this, and you'd also want to move from AA25 to BA25, then
perhaps

Sub foo()
ActiveCell.Offset(0, 26).Select
End Sub
 

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