VBA Button to switch worksheet(s)

  • Thread starter Thread starter marola20
  • Start date Start date
M

marola20

Could someone please give me a bit of help with this. I am trying t
program a series of buttons that will take a workbook user to
specific worksheet within the workbook. I know my way around VB bu
this VBA stuff is tricky. Thanks for the help
 
Have you tried recording a macro?
Sometimes the simplest solutions do the trick... :
 
assume the button uses the worksheet name as a caption

Private Sub Commandbutton1_Click()
worksheets(Commandbutton1.Caption).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