Create an Excel Table of Contents with Sheet Name Links
Question details
Create a worksheet that automatically lists workbook sheet names and links to each sheet.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user wants a table of contents without manually typing every worksheet name.
- Observed behavior
- The desired table of contents lists worksheet names with clickable links to their corresponding sheets.
Save the workbook as an Excel file and confirm that your version of Excel includes Power Query under the Data tab. Save changes to sheet names before refreshing the list, because the query reads the saved file.
Use Power Query to list sheets and create hyperlinks
Use this no-VBA method to generate a refreshable list of visible worksheets and link to each one.
Power Query reads worksheet names from the saved workbook. After adding, renaming, or deleting sheets, save the workbook and refresh the query to update the list.
In Excel, select Data > Get Data > From File > From Excel Workbook, then choose the saved copy of the workbook you are working in.
In Navigator, select a sheet and choose Transform Data. In Power Query Editor, remove the Navigation step under Applied Steps to return to the workbook's list of objects.
Filter the Kind column to Sheet and the Hidden column to FALSE. Keep the Name column, then select Home > Close & Load to load the list into a worksheet table.
In the first empty column immediately to the right of the loaded table, enter a header such as Link. In the first data cell below it, enter =HYPERLINK("#'"&SUBSTITUTE([@Name],"'","''")&"'!A1",[@Name]) and press Enter. Excel should fill the calculated column for the other rows.
After changing sheet names or adding sheets, save the workbook, then select Data > Refresh All. Save and refresh again if you want the newly created table-of-contents sheet included in the list.

Open and navigate Excel workbooks with WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface for working with spreadsheets. Open compatible Excel files to continue viewing and editing workbook content; use Excel to create or refresh the Power Query sheet list.

Frequently Asked Questions
Do I need VBA to create the sheet list?
No. In supported Excel versions, use Data > Get Data > From File > From Excel Workbook to create the list with Power Query, then add a HYPERLINK formula.
Why is a new sheet missing from the table of contents?
Save the workbook after creating the sheet, then select Data > Refresh All. The query reads the saved file rather than unsaved changes.
Will the list include hidden worksheets?
Not if you filter the Power Query Hidden column to FALSE. Remove that filter to include hidden sheets, although a hidden sheet cannot be opened through its link until it is unhidden.
What if a sheet name contains an apostrophe?
The SUBSTITUTE function in the suggested HYPERLINK formula doubles apostrophes in the sheet name, allowing Excel to interpret the link correctly.




