Skip to main content

How to print sheet name or a list of sheet names in Excel?

Author: Siluvia Last Modified: 2020-07-01

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.

Print sheet name with changing the print page setup
Print sheet name by inserting the sheet name in a cell with Kutools for Excel 
Print a list of sheet names with VBA code
Print a list of sheet names with Kutools for Excel 


Print sheet name with changing the print page setup

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.


Print sheet name by inserting the sheet name in a cell with Kutools for Excel

The Insert Workbook Information utility of Kutools for Ecel can help you quickly insert active worksheet name into a cell, and then you can manually print the sheet name as you need. Please do as follows.

Before applying Kutools for Excel, please download and install it firstly.

1. Click Kutools Plus > Insert Workbook Information

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 want to have a free trial (30-day) of this utility, please click to download it, and then go to apply the operation according above steps.


Print a list of sheet names with VBA code

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.


Print a list of sheet names with Kutools for Excel

If you want to print a list of sheet names in current workbook, the Create List of Sheet Names utility of Kutools for Excel can do you a favor.

Before applying Kutools for Excel, please download and install it firstly.

1. Click Kutools Plus > 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.

Then a new worksheet will be created to list all worksheet names in current workbook, and then you can print it.

  If you want to have a free trial (30-day) of this utility, please click to download it, and then go to apply the operation according above steps.


Related articles:

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

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...

Description


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!
Comments (3)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
The insert sheet name stops working after the first sheet.
This comment was minimized by the moderator on the site
Hi K Code,Are you talking about the Insert Workbook Information feature mentioned in method 2? Can you be more specific about your issue? Thanks for your feedback.
This comment was minimized by the moderator on the site
got it, thanks
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations