Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA Button to switch worksheet(s)

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

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA Button to switch worksheet(s)

Have you tried recording a macro?
Sometimes the simplest solutions do the trick... :

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default VBA Button to switch worksheet(s)

assume the button uses the worksheet name as a caption

Private Sub Commandbutton1_Click()
worksheets(Commandbutton1.Caption).Select
End Sub

--
Regards,
Tom Ogilvy

"marola20 " wrote in message
...
Could someone please give me a bit of help with this. I am trying to
program a series of buttons that will take a workbook user to a
specific worksheet within the workbook. I know my way around VB but
this VBA stuff is tricky. Thanks for the help.


---
Message posted from http://www.ExcelForum.com/



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
how do i switch to a right to left worksheet li New Users to Excel 2 May 5th 10 03:50 AM
How do I switch from one worksheet to the next without using the . Switching from one Worksheet to the next Excel Worksheet Functions 2 October 31st 07 04:39 PM
How do I switch headers within a worksheet chicken Excel Discussion (Misc queries) 3 October 16th 07 07:35 PM
switch from one worksheet to another without using mouse Jamie Excel Discussion (Misc queries) 2 June 22nd 07 10:26 PM
Switch between worksheet tabs? LovelyKillerGal Excel Discussion (Misc queries) 3 May 2nd 07 01:55 AM


All times are GMT +1. The time now is 08:53 AM.

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"