How to create a drop down list with hyperlinks to every sheet in Excel?
Did you know you can also create a drop-down list with hyperlinks to every sheet in your workbook? Alternatively, if you prefer a clickable list instead of a drop-down, you can generate a list of hyperlinks to all sheets. In this guide, we'll walk you through both methods: creating a drop-down list with sheet links and generating a list of clickable sheet names.
Create a drop down list with sheet hyperlinks
Create a clickable list of sheet names
Create a drop down list with sheet hyperlinks
To create a drop-down list in Excel that includes hyperlinks to each sheet in the workbook, you can achieve this using a simple VBA code.
1. Click Developer > Insert > Combo Box (ActiveX Controls).
Note: If the developer tab is not shown in the Ribbon, please click File > Options > Customize Ribbon, and then check the Developer option in the right box. See screenshot:
2. Then draw a Combo Box anywhere you like.
3. Right click at the sheet you drew the Combo Box just now, and click View Code from the context menu.
4. Copy and paste below code to the blank script, and then save it to go back to the sheet.
VBA: Create drop down list with sheet links
Private Sub ComboBox1_Change()
'UpdatebyExtendoffice20180404
Sheets(Me.ComboBox1.Text).Select
End Sub
Private Sub ComboBox1_GotFocus()
Dim I As Long
Me.ComboBox1.Style = fmStyleDropDownList
If Me.ComboBox1.ListCount <> Sheets.Count Then
Me.ComboBox1.Clear
For I = 1 To ActiveWorkbook.Sheets.Count
Me.ComboBox1.AddItem Sheets(I).Name
Next
End If
Me.ComboBox1.DropDown
End Sub
5. Click Developer > Design Mode to exit the design mode.
Now all sheets have been listed in the drop-down list, and it will go to the sheet while you clicking at the sheet name.
Create a clickable list of sheet names
If you prefer to create a list of clickable sheet names, as shown in the screenshot below, you can use Kutools for Excel’s Create List of Sheet Names feature. This tool allows you to generate a list of hyperlinks to the sheet names or a list of macro buttons linked to each sheet.
1. Click Kutools Plus > Worksheet > Create List of Sheet Names.
2. In the Create List of Sheet Names dialog, do as below:
(1). Check Contains a list of hyperlinks to create a list of clickable sheet names, or check Contains buttons and macros to create buttons which link to each sheet.
(2). Give the new sheet which you will place the hyperlinks in a name.
(3). Specify the location of the new sheet.
(4). Specify the sheet links displayed as how many columns.
3. Click Ok, now the clickable sheet names have been displayed in new sheet.
Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy permanently free AI features! Get It Now
Demo: Create a clickable list of sheet names
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!