Set page margins before printing a worksheet (2024)

Excel for Microsoft 365 Excel 2021 Excel 2019 Excel 2016 Excel 2013 More...Less

Tip:Although Excel for the webdoesn't support setting page margins, it does offer some Page Setup options on the Page Layout tab.

To better align an Excel worksheet on a printed page, you can change margins, specify custom margins, or center the worksheet—either horizontally or vertically on the page.Excel for the web

Page margins are the blank spaces between your data and the edges of the printed page. Top and bottom page margins can be used for things such as headers, footers, and page numbers.

Follow the steps below to set pagemargins:

  1. Select the worksheet or worksheets that you want to print.

    How to select worksheets

    Tip:When multiple worksheets are selected, [Group] appears in the title bar at the top of the worksheet. To cancel a selection of multiple worksheets in a workbook, click any unselected worksheet. If no unselected sheet is visible, right-click the tab of a selected sheet, and then click Ungroup Sheets.

  2. On the Page Layout tab, in the Page Setup group, click Margins.

    Set page margins before printing a worksheet (3)

  3. Do one of the following:

    • To use predefined margins, click Normal, Wide, or Narrow.

      Tip:If you previously used a custom margin setting, that setting is available as theLast Custom Settingoption.

    • To specify custom page margins, click Custom Margins and then—in the Top, Bottom, Left, and Right boxes—enter the margin sizes that you want.

    • To set header or footer margins, click Custom Margins, and then enter a new margin size in the Header or Footer box. Setting either the header or footer margins changes the distance from the top edge of the paper to the header or from the bottom edge of the paper to the footer.

      Note:The header and footer settings should be smaller than your top and bottom margin settings, and larger than or equal to your minimum printer margins.

    • To center the page horizontally or vertically, click Custom Margins and then, under Center on page, select the Horizontally or Vertically check box.

Tip:To preview the new margins, click File > Print. To adjust the margins in Print Preview, select the Show Margins box in the lower right corner of the preview window, and then drag the black margin handles on either side or at the top or bottom of the page.

Set page margins before printing a worksheet (4)

Note:Page margins that you define in a particular worksheet are stored with that worksheet when you save the workbook. You can't change the default page margins for new workbooks.

Need more help?

You can always ask an expert in the Excel Tech Communityor get support inCommunities.

See Also

Preview worksheet pages before you print

Print a worksheet or workbook

Need more help?

Want more options?

Discover Community

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Set page margins before printing a worksheet (2024)
Top Articles
Latest Posts
Article information

Author: Van Hayes

Last Updated:

Views: 6436

Rating: 4.6 / 5 (66 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Van Hayes

Birthday: 1994-06-07

Address: 2004 Kling Rapid, New Destiny, MT 64658-2367

Phone: +512425013758

Job: National Farming Director

Hobby: Reading, Polo, Genealogy, amateur radio, Scouting, Stand-up comedy, Cryptography

Introduction: My name is Van Hayes, I am a thankful, friendly, smiling, calm, powerful, fine, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.