Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365. 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.
Written by Allen Wyatt (last updated November 25, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365
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:

Figure 1. The Header/Footer tab of the Page Setup dialog box.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8068) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Setting Header/Footer Margins.
Dive Deep into Macros! Make Excel do things you thought were impossible, discover techniques you won't find anywhere else, and create powerful automated reports. Bill Jelen and Tracy Syrstad help you instantly visualize information to make it actionable. You’ll find step-by-step instructions, real-world case studies, and 50 workbooks packed with examples and solutions. Check out Microsoft Excel 2019 VBA and Macros today!
Add an ampersand to the text in a header or footer and you may be surprised that the ampersand disappears on your ...
Discover MoreHow do you want your page numbers to appear on your printed worksheets? Chances are good that you want them to be ...
Discover MoreYou can easily create headers and footers for multiple worksheets by working with a selection set of the worksheets you ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2023-11-25 10:25:34
J. Woolley
@dave
Are you referring to Figure 1? What is wrong with it? How is the text different?
2023-11-25 09:25:46
dave
the photo doesn't match the text
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.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments