Sheet link in Menu bar

atuljadhavnetafim

Active Member
Joined
Apr 7, 2012
Messages
341
Office Version
  1. 365
Platform
  1. Windows
Dear Expert

I have 40+ sheet in excel file and most sheets are interlink, most of the time i need to switch over to sheet very freqeuntly and because of this it is very difficult to find the sheet as i can see only 4-5 sheet in the window, then I used to right click at bottom line and get the list of sheet and select the sheet
but can i have sheet name appear in separate menu bar and by clicking there i switch over to that sheet?
in below, i have created "Atul" menu bar and i need sheet name in red area so i can click on that sheet name and go direct to that sheet.
is this possible this way or you have any better solution.

1600922234925.png
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
I use a very simple userform with a shortcut to make it appear


ListSheets.jpg



1 Create a userform
2 Change its name to UserFormListSheets
3 Change the caption to Click on sheet
4 Make it almost as tall as will fit your Excel screen and wide enough to fit your longest sheet name
5 Add a Listbox and make it almost as big as the userform
6 Add userform code below
7 Add macro MySheets to a module
8 Add shortcut to macro MySheets

Userform code
VBA Code:
Private Sub ListBox1_Click()
    On Error Resume Next
    ActiveWorkbook.Sheets(ListBox1.Text).Activate
    On Error GoTo 0
    Unload Me
End Sub

Private Sub UserForm_Initialize()
    Dim ws As Worksheet
    For Each ws In ActiveWorkbook.Worksheets
        ListBox1.AddItem ws.Name
    Next ws
End Sub

Code in module
VBA Code:
Sub MySheets()
    UserFormListSheets.Show
End Sub

Note
Above is deliberately simple - code could be tailored to handle hidden sheets etc
Functionality available in every workbook if code and userform are placed in personal macro workbook
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,837
Messages
6,127,187
Members
449,368
Latest member
JayHo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top