Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, and 2016. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Setting Header/Footer Margins.

Setting Header/Footer Margins

by Allen Wyatt
(last updated June 11, 2018)

6

When you create an Excel worksheet, you have the ability to change the margins used when the information in the worksheet is printed. This is done by choosing Page Setup from the File menu (Excel 2007) or Margins | Custom Margins from the Page Layout tab of the ribbon (Excel 2010 or a later version,) then making adjustments on the Margins tab. The default left and right margin values are .7 inches, unless you change them as described in other issues of ExcelTips.

If you want to make sure that Excel adjusts where it begins and ends the header and footer consistent with your overall margins, you need to follow these steps:

  1. Display the Page Layout tab of the ribbon.
  2. Click the small icon in the lower-right corner of the Page Setup group. Excel displays the Page Setup dialog box.
  3. Make sure the Header/Footer tab is displayed. (See Figure 1.)
  4. Figure 1. The Header/Footer tab of the Page Setup dialog box.

  5. Make sure the Align With Page Margins check box is selected.
  6. Click on OK.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8068) applies to Microsoft Excel 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Excel here: Setting Header/Footer Margins.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Using Tags with Document Files

Tags are a way for you to store keywords or metadata with your document files. They can be helpful when you are trying to ...

Discover More

Renaming a Spreadsheet

Need to change the name of an existing spreadsheet? There are two ways you can do it, using either Sheets or Drive.

Discover More

Specifying a Label Stock for Saved Documents

When you create a document designed to be printed on a particular type of label stock, it might be helpful if Word ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Adding Graphics to a Header or Footer

Excel makes it easy to add graphics to a header or footer. Here's the steps to make it happen.

Discover More

First and Last Names in a Page Header

When you have a worksheet that includes a long list of names, you may want the first and last names on each page to ...

Discover More

Specifying the Y Value in X of Y Page Numbering

Page numbers in Excel headers and footers have always been a source of frustration for users. This tip recounts one ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is six more than 7?

2017-03-08 12:20:42

James L M.

This doesn't help me move the bottom margin of the footer so I can lift my footer above the footer on the letterhead I'm using.
Earlier versions of Excel made that easier. Not Excel 16


2016-12-29 01:40:17

E Bond Francisco

I also tried the method described above, and the footer is still not aligned with the margins of the document. What to do?


2016-12-22 06:38:42

Willy Vanhaelen

@Jeanette

In the Margins tab of the Page Setup you can change the height of the header.


2016-12-21 10:26:37

Jeanette

I am trying to adjust the height of the header as it is larger than I need. How may I adjust the height of the header?

Thanks,


2016-03-30 09:23:08

Stu Cram

The method describes will apply to the current worksheet. If you need to set the margins for several or all worksheets, you can use a macro with the 'Before Printing' option on the macro sheet for the workbook. I tend to record the print dialog settings that I want displayed for all sheets including margins, date and time, page number options etc. and then use that as the 'Before Printing' macro.


2016-02-03 17:17:05

Rebecca

I tried this suggestion but the footer still does not line up with the data in the grids but it offset to the right in the default footer position.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.