How to print sheet name or a list of sheet names in Excel?
By default, it is hard for you to figure out which printout came from which worksheet as the sheet name will not be printed by default in Excel. In this article, we will show you how to print worksheet with the worksheet name in it, and how to print a list of worksheet names.
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
You can change the print page setup by adding the sheet name into the Header/Footer of the worksheet, and then print it.
1. In Excel 2010 and 2013, click File > Print > Print Setup. See screenshot:
In Excel 2007, please click the Office button > Print > Print Preview. And then click Page Setup under the Print Preview tab.
2. In the Page Setup dialog box, go to the Header/Footer tab. If you want to insert the sheet name to header, please click the Custom Header button, but if you want to insert the sheet name to footer, click the Custom Footer button. Here I click the Custom Header button. See screenshot:
3. In the Header dialog box, click the Left section box, then click the Insert Sheet Name button, and finally click the OK button. See screenshot:
Note: You can also insert the sheet name to the Center section or Right section of header as you need.
4. When it returns to the Page Setup dialog box, click the OK button. Then it will print out the worksheet name when printing the worksheet.
The Insert Workbook Information utility of Kutools for Ecel can help you quickly insert worksheet name into a cell in Excel. Please do as follows.
1. Click Enterprise > Insert Workbook Information. See screenshot:
2. In the Insert Workbook Information dialog box, check the Worksheet name option in Information section, select the cell you want to insert the sheet name in the Range box, and then click the OK button.
3. Print your sheet.
Note: you can insert the sheet name at worksheet header or footer by checking the Header or Footer option.
If you need to print a list of all sheet names of the whole workbook, you need to list all worksheet names in a list with following VBA code first. In this section, we guide you through how to use VBA to list all worksheet names in a list.
1. Press Alt + F11 to open the Microsoft Visual Basic for Applications window.
2. In the Microsoft Visual Basic for Applications window, click Insert > Module, then copy and paste the below VBA code into the editor.
VBA: List all worksheet names
Sub GetSheets() Dim Rng As Range Dim WorkRng As Range On Error Resume Next xTitleId = "KutoolsforExcel" Set WorkRng = Application.Selection Set WorkRng = Application.InputBox("Out put to (single cell)", xTitleId, WorkRng.Address, Type: = 8) Set WorkRng = WorkRng.Range("A1") xNum = Application.Sheets.Count For i = 1 To xNum WorkRng.Value = Application.Sheets(i).Name Set WorkRng = WorkRng.Offset(1, 0) Next End Sub
4. Press F5 key to run the code. In a popping up KutoolsforExcel dialog box, select a cell for locating the sheet name list, and then click the OK button.
5. Then all worksheet names are populated, and then you can print it now.
The Create List of Sheet Names utility of Kutools for Excel can quickly create a list of sheet names of current workbook.
1. Click Enterprise > Worksheet > Create List of Sheet Names.
2. In the Create List of Sheet Names dialog box, specify the settings as below screenshot shown, and then click the OK button.
3. A new worksheet will be created to list all worksheet names, and then you can print it.