Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Setting Page Margins.
by Allen Wyatt
(last updated June 16, 2012)
In Excel, page margins are used to specify how much white space (blank area) should be left around the information in your worksheet. This is very similar to how margins are conceived and used in other programs, such as a word processor. Margins are used to provide a visual border for your printed page and an area where the page can be held or bound.
To set margins for a worksheet, choose Page Setup from the File menu. Excel displays the Page Setup dialog box; you should make sure the Margins tab is selected. (See Figure 1.)
Figure 1. The Margins tab of the Page Setup dialog box.
There are four margins you can specify: top, bottom, left, and right. Each margin refers to the distance from the edge of the paper to where the information in your worksheet can be printed. Thus, a one-inch top margin means there will be one inch of white space at the top of each page of your printout.
If you include headers and footers in your page layout, the settings in the Header and Footer boxes allow you to indicate where they should print. Typically, the value in the Header field should be less than the value in the Top field, and the value in the Footer field should be less than the one in the Bottom field. In this way you will ensure that the header and footer appear within the margins specified at the top and bottom of the page.
At the bottom of the dialog box there are some check boxes that control the centering of your information on the page. Clicking your mouse on either the Horizontally or Vertically check boxes will make sure your information is centered in that direction. Notice that as you make changes to the margins or to the information centering, Excel shows you what your layout looks like in the Preview area in the center of the dialog box.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2842) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Setting Page Margins.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
If you need to change the size of paper on which your worksheets will be printed, it can be bothersome to make the change on ...Discover More
Don't like the print margins that Excel uses by default? You can change the default by changing the workbook on which Excel ...Discover More
Need to print your worksheet on a non-standard paper size? Excel is rather limited in printing to such papers, and here is ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."