How to Repeat the File Name on Every Page in Excel for Office 365

Excel can print the workbook’s file name on every page by placing the file-name field in a header or footer. Because it is a field rather than manually typed text, it can reflect the workbook’s saved file name when printed.

Add the file name to every printed page

  1. Open the workbook in desktop Excel.
  2. Select the worksheet you want to configure.
  3. Open Page Layout and launch the Page Setup dialog.
  4. Select the Header/Footer tab.
  5. Choose a built-in header or footer containing the file name, or open the custom header/footer editor.
  6. Insert the File Name field in the left, center, or right section.
  7. Use Print Preview to confirm that it appears on each page.

Apply it to more than one worksheet

Header and footer settings belong to worksheets. If several sheets need the same printed file name, group the intended worksheets before applying the setting, then ungroup them afterward so later edits do not accidentally affect every selected sheet.

The file name and file path are separate fields. Use the file-name field when you only want the workbook name; use the path field when printed pages also need to identify where the workbook was stored.

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy