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: Changing Paper Size for a Complete Workbook.

Changing Paper Size for a Complete Workbook

by Allen Wyatt
(last updated September 14, 2015)

9

Bob has a workbook that has about fifteen worksheets in it, and he needs to change the page format for all the worksheet from Letter to A4. There is a quick way to make the change by following these steps:

  1. Right-click any worksheet tab. You'll see a Context menu appear.
  2. Choose Select All Sheets. All the worksheet tabs should now be selected.
  3. Choose Page Setup from the File menu. Excel displays the Page Setup dialog box.
  4. Make sure the Page tab is displayed. (See Figure 1.)
  5. Figure 1. The Page tab of the Page Setup dialog box.

  6. Using the Paper Size drop-down list, choose A4.
  7. Click OK.
  8. Right-click any worksheet tab. You'll again see a Context menu.
  9. Choose Ungroup Sheets.

That's it; the paper size is now set for all the worksheets. There is a drawback to this approach, however: If individual worksheets have differing page setup settings (different orientations, margins, headers, footers, etc.), then following these steps will set them all the same. If you only want to change the paper size and don't want to change any other settings, your only recourse is to use a macro to do the change.

Sub AllSheetsA4()
    Dim sht As Variant

    For Each sht In ActiveWorkbook.Sheets
        sht.PageSetup.PaperSize = xlPaperA4
    Next
End Sub

The macro steps through each sheet in the workbook, changing only the PaperSize property so that the sheet will print on A4 paper.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2896) 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: Changing Paper Size for a Complete Workbook.

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

Hiding and Protecting Columns

Want to hide certain columns within a worksheet so the contents are not visible to others? The answer lies in formatting the ...

Discover More

Deleting the Open Document File

Want to delete the document you are currently viewing? Word doesn't provide a way to do it, but you can use the macro in this ...

Discover More

Locating Locked Fields

A field can be locked or unlocked, and its condition controls whether it is updated automatically or not. If you want to ...

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 (MENU)

Scaling Your Printing

If you want to cram more of your worksheet onto each page of a printout, one way to do it is by using scaling. Here's how you ...

Discover More

Setting Default Print Margins

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

Resetting Page Setup

If you ever open a workbook and find that your carefully crafted worksheets no longer print on the number of pages you ...

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 for this tip:

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. 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 nine more than 2?

2017-01-07 04:41:49

T.O.M

When I go to Paper size, I don't get the option of A4, Letter, A5, Legal etc.

I get a list of decimal numbers, none of which relate to an A4 sheet.

Any ideas please ?


2016-12-15 08:58:48

allen@sharonparq.com

Tobie: See this tip for the answer:

http://excel.tips.net/T012056

-Allen


2016-12-13 10:03:18

Tobie Hanekom

Hi Allen
I am already a subscriber to your tips. I have a new question:

By default the paper orientation will be portrait. How do one change it to Landscape with specific margins so that any new sheet inserted in future will be Landscape with specific margins and scaling? I want all current sheets and future inserted sheets to be landscape scaled to 75% with a left, right, top & bottom margin of 5


2016-10-12 17:31:57

MClark

Is there a way to use this macro on just the worksheets you have selected when you run the macro (rather than all worksheets in the workbook)?


2016-05-11 23:38:13

JIMIL

HOW TO SET THE SCALING SIZE TO DEFAULT ?
WHEN EVER I GIVE PRINT IT'Z GOING TO 50 %.
I NEED IT TO 60% DEFAULT .


2015-10-02 04:49:30

vijay

I face the same problem ,now it s okay as default printer setting was wrong.


2015-01-13 15:26:22

phreaddy

Is it possible to print a workbook with sheets of different-sized paper? I have a workbook with a single 11X17, a few 8.5x14, and mostly 8.5x11. All the pages print out on the same size of whatever sheet is at the front.


2014-09-09 05:01:28

Say Samlot

Dear sir
I don't about How to set the full margins of A4? because we want to get a full of A4. but when We print preview, we saw a full of A4 but we printed it. We can not get what we have done.


2014-07-31 22:02:04

Nasty Habit

I need to change the paper size to legal. Can't seem to do it in Excel (Microsoft Office 2007 Pro). I have a new laptop with Windows 8.1. Wish I had my old XP back. And, wish I could manipulate this Excel like I could the old 2003 edition I used to have. Should never have gotten rid of it or XP. But had to.


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.

Links and Sharing
Share