Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do you create a menu for just that specific worksheet?

I have a model that has several sheets. I would like to have a drop-down menu
on the menu toolbar that would allow me to move select the sheet I want to go
to by using a dropdown menu.

Any help would be appreciated. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How do you create a menu for just that specific worksheet?

In case you didn't know, if you right-click on the navigation arrows at bottom
left you will get a list of sheets to choose from.

You could also use a Data Validation drop-down list and some event code to take
you to the chosen sheet.

Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Me.Range("A1")) Is Nothing Then Exit Sub
On Error GoTo endit
Application.EnableEvents = False
Select Case Target.Value
Case "1"
Sheets("Sheet1").Select
Case "2"
Sheets("Sheet2").Select
End Select
endit:
Application.EnableEvents = True
End Sub

This is sheet event code.

Right-click on the sheet tab and "View Code". Copy and paste into that module.

Adjust range and parameters to suit.

If that won't do the job here's a post by Dave Peterson

Start Dave post.................................

For additions to the worksheet menu bar, I really like the way John Walkenbach
does it in his menumaker workbook:
http://j-walk.com/ss/excel/tips/tip53.htm

Here's how I do it when I want a toolbar:
http://www.contextures.com/xlToolbar02.html
(from Debra Dalgleish's site)

End Dave post...........................


Gord Dibben MS Excel MVP

On Sun, 31 Dec 2006 16:50:00 -0800, gregesau
wrote:

I have a model that has several sheets. I would like to have a drop-down menu
on the menu toolbar that would allow me to move select the sheet I want to go
to by using a dropdown menu.

Any help would be appreciated. Thanks.


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
create a new worksheet when a cell has a date entered Zane New Users to Excel 2 October 12th 06 06:01 AM
Open worksheet at specific cell Rob Excel Discussion (Misc queries) 5 August 23rd 06 12:19 AM
How to create a drop down button on a worksheet? Re learning Excel Excel Worksheet Functions 3 August 14th 06 03:28 PM
How to name cells using same name yet specific to worksheet in Exc KCG Excel Worksheet Functions 2 March 13th 06 05:29 PM
worksheet menu bar ditchy Excel Discussion (Misc queries) 4 May 4th 05 10:09 AM


All times are GMT +1. The time now is 10:23 AM.

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

About Us

"It's about Microsoft Excel"