Copy this event sub in the code window of worksheet containing the button:
Private Sub CommandButton1_Click()
Worksheets(Me.CommandButton1.Caption).Select
End Sub
Regards,
Stefi
„Northern Dave†ezt Ãrta:
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.