Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. 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: Changing Paper Size for a Complete Workbook.
by Allen Wyatt
(last updated May 7, 2022)
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:
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 (12219) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Excel here: Changing Paper Size for a Complete Workbook.
Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!
Have you ever wanted to do a simple printout, only to find that Excel spit out dozens of pages, and most of them were ...Discover More
When you print a worksheet, Excel normally prints all the pages or a consecutive series of pages that you specify. If you ...Discover More
If you don't need to print an entire workbook, it can be confusing to figure out how to print just certain pages. This ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.