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.

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:


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

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!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    don · 1 years ago
    got it, thanks