How to quickly insert sheet names in cells in Excel?
Is there an easy way to insert the current worksheet's name in one cell? How to insert all worksheets' name in cells? This article will bring you tricky methods to solve these problems.
Insert current sheet name in a cell with functions
Quickly insert active sheet’s name with Kutools for Excel
Insert all sheet names in cells with VBA
Quickly insert all sheet names with hyperlinks in cells as an index
Quickly insert current sheet name in a cell with functions
Just enter the formula of =RIGHT(CELL("filename",D2),LEN(CELL("filename",D2))-FIND("]",CELL("filename",D2))) in any cell and press Enter key, it shows the current worksheet's name in the cell.
This formula is only able to show current worksheet's name, but not other worksheet's name.
Quickly insert active sheet’s name with Kutools for Excel
If you want to insert the active sheet’s information including sheet name, workbook name, file path and so on to a cell or header/footer, you can use Kutools for Excel’s Insert Workbook Information.
After free downloading and installing Kutools for Excel, please do as below:
1. Select a cell or a range to put the sheet name, and click Kutools Plus > Workbook > Insert Workbook Information.
2. Then select the workbook information you need to insert from Information section, and specify the location you want to place the information from Insert at section. Then click OK.
You can click here to know more about Insert Workbook Information.
Quickly insert all sheet names in cells with VBA
If you want to inset all sheet names in cells, VBA macro is a good choice.
Step 1: Hold down the Alt + F11 keys in Excel, and it opens the Microsoft Visual Basic for Applications window.
Step 2: Click Insert > Module, and paste the following macro in the Module Window.
VBA for inserting all worksheets' names in cells:
Sub SheetNames()
Columns(1).Insert
For i = 1 To Sheets.Count
Cells(i, 1) = Sheets(i).Name
Next i
End Sub
Step 3: Press the F5 key to run this macro. Then you will all worksheets' name are listed in Column A of current worksheet. See screenshot:
Note: In the VBA code, you can change Cells(i, 1) to other reference to insert the sheet names start at other cells. For instance, insert sheet names start from C3, change it to Cells(i+2, 3).
Quickly insert all sheet names with hyperlinks in cells as an index
Kutools for Excel's Create List of Sheet Name utility not only inserts all sheet names in cells, but also insert hyperlinks to corresponding sheets too.
After free downloading and installing Kutools for Excel, please do as below:
Step 1: Click the Kutools Plus > Worksheet > Create List of Sheet Names.
Step 2: In the Create List of Sheet Names dialog box, specify the settings according to your needs, and click OK.
Then you will see all sheet names are inserted in a new worksheet, and each sheet name link to corresponding worksheet. See following screenshots:


The Create List of Sheet Name utility makes it easy for you to create a list of all worksheet names of the active workbook in a new worksheet, which contains hyperlinks or macro buttons for quickly navigate to other worksheets. Click to know more about this utility.
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!