Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Navigation buttons in Excel

Status
Not open for further replies.

wdve

Technical User
Joined
Jan 23, 2007
Messages
2
Location
GB
Hi Al
Is it possible in excel to create a button that will jump the user back to Column 1 NO matter where they are in a worksheet?

ALso is it possible to record a cell reference and alternatively be able to "jump" the user back again?

Thanks everyone!
 
You can record a macro, then set a custom button to run the macro. When the macro is recording, (assuming you are already not on cell A1) you can select cell A1, then stop the recording. It should have all the code taken care of.

Or, if you want it in reference to the current row, you could reference that cell a few different ways, one of which would be:
Code:
Private Sub MoveToColumnA()
  Range("A" & ActiveCell.Row).Activate
End Sub

By the way, who's Al? [wink]

--

"If to err is human, then I must be some kind of human!" -Me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top