#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Command Button

Hi,

I created a "Command Button" in an excel worksheet and I want to be able to
click so that it sends me to another tab in my spreadsheet. How do you do
that?

Mike
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Command Button

Create a macro in a module in the VBE with the following code:

Sub Macro3()
Sheets("YourSheet").Select
End Sub

Where YourSheet is replaced with the name of the sheet you want to navigate
to. Note the double quote marks need to stay.

Then assign that macro to the button.

Dave

--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"inspirz" wrote:

Hi,

I created a "Command Button" in an excel worksheet and I want to be able to
click so that it sends me to another tab in my spreadsheet. How do you do
that?

Mike

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
command button big show Excel Worksheet Functions 1 January 29th 07 02:38 PM
Command Button tom Excel Worksheet Functions 0 November 3rd 06 11:37 AM
Command button CEG Excel Discussion (Misc queries) 1 May 4th 06 09:54 PM
command button Hellboy Excel Discussion (Misc queries) 0 November 3rd 05 02:51 PM
command button abfabrob Excel Discussion (Misc queries) 5 October 7th 05 12:54 AM


All times are GMT +1. The time now is 04:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"