How to Remove Header and Footer in Excel (6 Methods)

Consider you have the following dataset with a Header.

header

The dataset also has a Footer.

footer

Let’s remove the Header and Footer from this dataset.


Find Header and Footer in Excel

If you look at your Excel sheet you won’t see any Header in normal view.

dataset

If you scroll down, you won’t see the Footer either.

no footer

  • Go to the View tab and select Page Layout from the Workbook Views ribbon.

Insert tab

  • You can also click on the Page Layout icon from the Status Bar.

View

  • You will see the Header at the top of your workbook.

Header

  • Scroll down to see the Footer at the bottom of each page.

 footer


How to Remove the Header and Footer in Excel: 6 Ways


Method 1 – Remove the Header and Footer Using the Insert Tab

  • Go to Insert, select Text, and choose Header & Footer.

Insert

  • Click on a Header and press Backspace to delete it.

remove header

  • Click somewhere else in your worksheet.

remove header

  • Click on the image.
  • The image will turn into a text in this format: &[Picture]
  • Delete this text.

custom header

  • Click somewhere else in your worksheet.

header removed

  • You can also remove the Footer in a similar way.

remove header and footer in ExcelRead More: How to Hide Header and Footer in Excel


Method 2 – Use the Page Layout Tab to Remove the Header and Footer

  • Go to the Page Layout tab and click on the little arrow from the bottom right corner of the Page Setup ribbon.

remove header and footer in Excel

  • This will open the Page Setup window.

Page setup

  • Go to the Header/Footer tab in the Page Setup window.
  • Select none in the Header box and none in the Footer box.
  • Click on OK.

remove header and footer in Excel

  • All the Headers and Footers will be removed from your worksheet.

remove header and footer in Excel


Method 3 – From the View Tab

  • Go to the View tab and select Page Layout from the Workbook Views ribbon.

view tab

  • Click at the end of a Header and press Backspace to delete it.

remove header

  • Delete all the Headers.

remove header and footer in Excel

  • Repeat the process for the Footers.

remove footer

  • Here’s how the sheet should look once you select anything else.

remove header and footer in Excel


Method 4 – Remove the Header and Footer Using the Status Bar

  • Click on the Page Layout view icon from the bottom right corner of your Status Bar.

Status bar

  • This will change the worksheet view as Page Layout view.
  • Follow the steps from the previous methods to remove the Header and Footer from your Excel worksheet.

header


Method 5 – Remove the Header and Footer When Printing

  • Go to the File tab and select Print.

Print

  • You will see the current page of your worksheet in Print Layout.

print layout

  • Click on Page Setup in the Print menu.

page setup

  • This will open the Page Setup window.
  • Go to the Header/Footer tab in the Page Setup window.
  • Select none in the Header box and none in the Footer box.
  • Click on OK.

remove header and footer in Excel

  • The Header and the Footer of your worksheet will be removed.

remove header and footer in Excel

Read More: How to Insert a Footer in Excel


Method 6 – Using VBA

  • Press Alt + F11 to open the VBA window.
  • Select the Insert tab and click on Module.

VBA WINDOW

  • This will open the Module(Code) window.
  • Copy the following code in the window:
Sub Remove_Header_Footer()

With Sheets("VBA").PageSetup
    .LeftHeader = ""
    .CenterHeader = ""
    .RightHeader = ""
    .LeftFooter = ""
    .CenterFooter = ""
    .RightFooter = ""
End With

End Sub

In the above code, Sheets collection has been used to get the sheet (VBA) from where the Header and the Footer will be removed. After that, PageSetup has been assigned to hold all page setup properties (e.g. margins, Header & Footer, and so on).

At last, all types of Headers and Footers (left, right & right Header) have been set to blank for removing the Headers and Footers from the VBA worksheet.

code

  • Press F5 and close the VBA window.
  • The Headers have been removed from your Excel worksheet.

remove header

  • The Footers are also gone.

remove footer


Download the 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!
Prantick Bala
Prantick Bala

PRANTICK BALA is a marine engineer who loves exploring Excel and VBA programming. Programming, to him, is a time-saving tool for efficiently managing data, files, and internet tasks. He is proficient in Rhino3D, Maxsurf, C++, MS Office, AutoCAD, Excel, and VBA and goes beyond the basics. Armed with a B.Sc in Naval Architecture & Marine Engineering from BUET, he has transitioned into the role of a content developer. Beyond his work, find him immersed in books, exploring new... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo