XLSX → the same workbook with a Contents sheet

Excel Table of Contents

Add a Contents sheet to the front of an Excel workbook with a clickable link to every sheet, optional back-links on each sheet, and a list of named ranges and tables. The tool first checks the file for features that cannot be preserved when it is saved here and tells you exactly which ones before anything is written.

Workbook

.xlsx up to 30 MB. Your own sheets are not edited, apart from the optional back-link cell.

Drop an Excel workbook here

.xlsx

Contents sheet

Each link is an internal workbook address such as #'Sheet name'!A1, the same kind Excel makes with Insert, Link, Place in This Document. The Contents sheet itself is a normal sheet: move it, rename it or delete it later.

Excel Table of Contents

Operator: Abdulla Al Fahad. How tools are built and checked

A workbook with twenty tabs forces the reader to scroll the tab bar and guess. A front sheet that lists every tab, links to each and tells you how big it is turns the same file into something a colleague can navigate in seconds. This tool writes that sheet for you, adds a link back to it from each tab, and can list the workbook's named ranges and Excel tables with links to them. Because adding a sheet means saving the whole file again, it first inspects the workbook and tells you what the save would lose.

Key features

  • Contents sheet as the first tab, with a link, used range, rows and columns for every sheet you choose and a Notes column to fill in
  • Back-link from each sheet, placed clear of your data
  • Named ranges and Excel tables listed with links
  • Pre-save inspection that names the features that will not survive

What the Contents sheet holds and which workbook features cannot be kept

The new sheet is placed first and made the active tab. It has a heading you choose, then a table with the number, the sheet name as a hyperlink, the used range, the row count and the column count of each sheet you tick, plus an empty Notes column for your own descriptions. Hidden sheets are unticked by default; if you list one, its row says the link will not open until the sheet is unhidden. If a sheet called Contents already exists, the new tab gets a numbered name. Links are internal addresses of the form #'Sheet name'!A1, with apostrophes in names doubled, the same kind Excel's Insert, Link, Place in This Document produces. Named ranges are linked by name, and Excel tables by their cell range on their sheet. Internal names that start with an underscore, such as print areas and filter ranges, are left out, and a named range whose reference is #REF! is listed without a link and marked as broken.

Back-links are written into row 1 of each listed visible sheet, in the column two to the right of the last used column, so they never overwrite data. This does extend the sheet's used range by two columns, which is why the option can be turned off. Your own sheets are otherwise written back unchanged; text beginning with an equals sign on them is not rewritten, while text this tool writes on the Contents sheet is protected against being read as a formula.

The file is saved with the exceljs library, which reads values, formulas, styles, merged cells, tables, named ranges, comments, data validation, freeze panes and pictures and writes them back. It does not write charts, PivotTables and their caches, slicers and timelines, shapes and text boxes, form controls, VBA macros, links to other workbooks, embedded objects, threaded comments or sparklines. Before anything is saved, the tool looks inside the .xlsx package for each of these and lists the ones present; you must tick a box to accept the loss before the download is enabled. Old .xls, macro-enabled .xlsm and binary .xlsb files are refused, as is anything over 30 MB.

How it works

The workbook is opened twice: once to list its sheets, names and tables, and once more at download time so that clicking the button twice never adds two Contents sheets. A separate pass opens the file as a ZIP package to look for the charts, pivots and other parts that the writer cannot reproduce.

Common use cases

  • Giving a 24-sheet financial model a front page before it is sent to an auditor
  • Taking an inventory of the named ranges and tables in an inherited 15-sheet workbook

How to use this tool

  1. Drop the .xlsx file and look at the list of sheets.
  2. Untick any sheet you do not want listed.
  3. Read the compatibility panel. If features will be lost, decide whether the copy is still useful, and tick the box to proceed.
  4. Choose the heading, tab name and which extras to include, then press Add Contents and download.

Example

A three-sheet workbook

Sheets: Sales 2026 (A1:B3, with table SalesTbl), It's data (A1:B1), Hidden one (hidden)
Named range SalesRange = 'Sales 2026'!$A$1:$B$3

The Contents sheet

Row 4: 1, Sales 2026 (link #'Sales 2026'!A1), A1:B3, 3, 2
Row 5: 2, It's data (link #'It''s data'!A1), A1:B1, 1, 2
Named ranges: SalesRange (link #SalesRange)
Tables: SalesTbl (link #'Sales 2026'!A1:B3)

Common pitfalls

The saved copy is a new file written by a library, so its size and small internal details can differ from the original even when nothing is lost; the original is never touched.

A hidden sheet that you choose to list keeps its link, but Excel cannot jump to it until it is unhidden.

  • If a workbook is full of charts, add the Contents sheet by hand in Excel instead; the compatibility panel will tell you that is the safer route.
  • Turn back-links off if your sheets print the full used range and you do not want two extra empty columns.

Common errors and how to fix them

"could not be opened as an .xlsx workbook"
The file is damaged, password-protected, or an old format with the wrong extension. Remove the password and save it as .xlsx in Excel.
"Macro-enabled .xlsm files are not supported"
Saving here would strip the macros. Make an .xlsx copy, add the contents, and keep the .xlsm as your master.
The download button stays disabled
The compatibility panel found features that will be lost. Tick the box that accepts this, or stop and keep the original.

Best practices

  • Keep the original file, and before sending the copy on, click two or three of the links and compare the sheet count with the original.

What the pre-save check looks for

The check opens the .xlsx as a package and searches its parts, which is quick because it does not need to calculate anything. Each finding below is named in the compatibility panel.

  • Charts, found as chart parts under xl/charts
  • PivotTables and their caches, and slicers and timelines
  • Shapes, text boxes and connectors inside the drawing parts (pictures are not counted, because they are kept)
  • Macros in vbaProject.bin, form controls and ActiveX, and embedded OLE objects
  • Links to other workbooks and threaded comments
  • Sparklines, found by their markup inside the sheet XML

Frequently asked questions

Why not just insert the sheet into the file's XML?

That would keep everything, but it needs hand-edited styles, relationships and per-sheet cells. This tool trades that for a library save and tells you plainly what it cannot keep.