How to Repeat Column Headings on Each Page in Excel – 3 Methods

This is a large dataset showcasing months and the corresponding sales amount in different countries.

The 2nd has no column headings in the print preview.

Excel Repeat Column Headings on Each Page

 


Method 1. Modifying the Page Setup to Repeat the Column Headings on Each Page in Excel

Steps

  • Go to Page Layout.
  • Click Print Titles.

Excel Repeat Column Headings on Each Page

  • In the Page Setup dialog box, go to the Sheet tab.
  • In Print Titles, select Rows to repeat at top.
  • Select row 4 or enter $4:$4.
  • Click OK.

Excel Repeat Column Headings on Each Page

Keyboard Shortcut

To open the Page Setup dialog box, you can also press Alt+P+S+P.

  • Go to the File tab.
  • Select Print or click Ctrl+P.
  • The column heading will be displayed on the other pages.

Excel Repeat Column Headings on Each Page

Read More: How to Create Column Headers in Excel


Method 2 – Applying an Excel VBA Code to Repeat the Column Headings on Each Page

Steps

  • Go to the Developer tab.
  • Select Visual Basic in Code.

  • In the Visual Basic window, select Insert  and choose Module.

  • Enter the code in the Module window.
Sub Repeat_Column_Headings_Every_Page()
Dim TotalPages As Long
TotalPages = Application.ExecuteExcel4Macro("GET.DOCUMENT(50)")
With ActiveSheet.PageSetup
.PrintTitleRows = "$4:$4"
ActiveSheet.PrintOut From:=1, To:=TotalPages
.PrintTitleRows = ""
End With
End Sub
  • Save the code and close Visual Basic
  • Go to the Developer tab.
  • In Code, select Macros.

  • In the Macro dialog box, select Repeat_Column_Headings_Every_Page in Macro name.
  • Click Run.

Excel Repeat Column Headings on Each Page

  • The file will be saved as a PDF file and column headers are displayed.

This is the first page:

This is the second page:

Excel Repeat Column Headings on Each Page

Read More: How to Change Column Headings in Excel


Method 3 – Changing the Name Box to Repeat the Column Headings

Steps

  • Select row 4.

  • Go to Name Box.

  • Enter Print_Titles.
  • Press Enter.

Excel Repeat Column Headings on Each Page

  • Go to the File tab.
  • Select Print or press Ctrl+P.

This is the output.

Excel Repeat Column Headings on Each Page

Read More: How to Title a Column in Excel


 

Download Practice Workbook

Download the practice workbook.


 

Related Articles


<< Go Back to Rows and Columns Headings | Rows and Columns in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Durjoy Paul
Durjoy Paul

Durjoy Kumar, with a BSc in Naval Architecture & Engineering from Bangladesh University of Engineering and Technology, is a dedicated contributor to the ExcelDemy project. His substantial contributions include crafting numerous articles and demonstrating expertise in Excel and VBA. Durjoy adeptly automates Excel challenges using VBA macros, offering valuable solutions for user interface challenges. Apart from creating Excel tutorials, he is interested in Data Analysis with MS Excel, SPSS, C, C++, C#, JavaScript, Python Web Scraping, Data Entry... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo