COMMAND BUTTON

B

BOB

I KNOW THAT THIS IS EXTREMELY BASIS, BUT I'M NEW SO PLEASE FORGIVE ME.
BUT....I NEED TO SET UP A COMMAND BUTTON TO MOVE TO A DIFFERENT TAB. HOW DO
I DO THAT? I HAVE THE BUTTON, BUT NOT SURE WHAT TO DO AFTER THAT.
 
M

Mike H

First and most important you tap the caps lock key to stop typing in capitals
then you do this

Right click the button and view code and then paste this in

Private Sub CommandButton1_Click()
Sheets("Sheet1").Select
End Sub

change the name of the sheet to the one you want.

Mike
 

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