How to Remove a Header in Excel – 4 Methods

The header in the sample dataset is Product Order Records.

Dataset


Method 1 – Using the Page Setup to Remove a Header in Excel

  • Go to Page Layout > click the drop-down arrow located at the right bottom of the Page Setup ribbon.

How to Remove a Header in Excel_Using the Setup to Remove a Header in Excel

  • In the Page Setup dialog box, select Header/Footer.
  • Choose none and click OK.

How to Remove a Header in Excel_Using the Setup to Remove a Header in Excel

This is the output.

How to Remove a Header in Excel_Using the Setup to Remove a Header in Excel

  • To remove the space created by the header, in View, select Normal.

How to Remove a Header in Excel_Using the Setup to Remove a Header in Excel

This is the output.

How to Remove a Header in Excel_Using the Setup to Remove a Header in Excel

Read More: How to Add Header in Excel


Method 2 – Deleting a Header While Printing

  • Go to the print preview by clicking File > Print > Print Preview (or pressing CTRL + P).

Deleting a Header While Printing from Excel

  • Choose Page Setup.

Deleting a Header While Printing from Excel

  • In the Page Setup dialog box, select Header/Footer and choose none.

Deleting a Header While Printing from Excel

This is the output.

Deleting a Header While Printing from Excel

Read More: How to Add Same Header to All Sheets in Excel


Method 3 – Removing a Header from the Second Page

  • Select the current header and check Different First Page in Header & Footer tab.

Method of Removing a Header from the Second Page

  • Click outside the current dataset and select Insert Page Break in Page Setup.

Method of Removing a Header from the Second Page

  • Enter a new header (Product Order Records-2)  in page 2.

Method of Removing a Header from the Second Page

  • Remove the header from the second page by choosing none in Header in the Header & Footer tab.

Method of Removing a Header from the Second Page

This is the output.

How to Remove a Header in Excel Method of Removing a Header from the Second Page

 


Method 4 – Using a VBA Code to Remove a Header in Excel

 

Step 1:

  • Open a module by clicking Developer > Visual Basic.

How to Insert VBA Code

  • Go to Insert > Module.

How to Insert VBA Code

Step 2:

Then copy the following code into the module.

Sub Removing_Header()
With Sheets("Sheet4").PageSetup
    .LeftHeader = ""
    .CenterHeader = ""
    .RightHeader = ""
End With
End Sub

How to Remove a Header in Excel_Using VBA Code to Remove a Header in Excel

In the above code, Sheets collection is used to get the sheet (Sheet4) in which the header will be removed. PageSetup, which holds all page setup properties (e.g. margins, header & footer) was assigned. All types of the header (left, right & right header) were set as blank.

Step 3:

  • Run the code (Press F5 or Fn + F5) and the output will be the following:

How to Remove a Header in Excel_Using VBA Code to Remove a Header in Excel

Related Content: How to Keep Header in Excel When Printing


Things to Remember

  • If you want to close the header (instead of removing it), press Esc.
  • If you want to remove the header quickly, simply select the header and press  Delete or Backspace.

Download Practice Workbook


Related Articles


<< Go Back to Header and Footer  | Page Setup in Excel | Print in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Md. Abdul Kader
Md. Abdul Kader

MD. ABDUL KADER is an engineer with a talent for Excel and a passion for VBA programming. To him, programming is like a time-saving wizard, making data manipulation, file handling, and internet interactions a breeze. His skill set extends to SWM, GIS, RS, and SPSS. He holds a B.Sc in Urban & Regional Planning from Chittagong University of Engineering and Technology and has shifted to become a content developer. In this role, he crafts technical content centred around... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo