Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. 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: Printing an Entire Workbook by Default.

Printing an Entire Workbook by Default

by Allen Wyatt
(last updated December 13, 2014)

2

When you choose to print in Excel, the Print dialog box (Excel 2007) or the File tab of the ribbon (later versions of Excel) allows you to specify many things about the print job. The Print What drop-down list allows you to indicate whether you want to print the selected worksheets, the selection, or the entire workbook. The Print What setting normally defaults to Active Worksheets, but what if you want it to default so the entire workbook is printed?

Unfortunately, Excel does not remember what you select using the Print What controls from one print job to the next; it always resets the default. The easiest way to always print the entire workbook, however, it to make a simple little macro like this:

Sub PrintItAll()
    ActiveWorkbook.PrintOut
End Sub

You can then create a button on the Quick Access Toolbar and assign this macro to that button. When you want to print the entire workbook, just click on the button. Easy and quick.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (10918) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Printing an Entire Workbook by Default.

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

A Handy Pruner for Your Toolshed

When working with trees, bushes, and brush, the right pruner can make quick work of the tasks you need to do. The Corona ...

Discover More

Setting Header/Footer Margins

Do you find that there is a lot of extra space around that data on your worksheet when it is printed? Changing the margins in ...

Discover More

Changing How Footnote References Appear

Footnote references normally appear as superscripted digits, both in the main body of your document and in the footnotes ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!

More ExcelTips (ribbon)

Specifying Print Quantity in a Cell

When you print a worksheet, you can specify in the Print dialog box how many copies you want printed. If you want the print ...

Discover More

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

Printing Columns and Rows

If you want to print just the contents of a number of rows and columns, it can be challenging to get the output you want. ...

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

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. Maximum image size is 6Mpixels. 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 6 - 0?

2017-02-10 11:12:24

Peter Atherton

Mike

Macros are written in the Visual Basic Editior (VBE) which can be accessed on the Developer's TAb. If that is not shown then go to Excel Options,Popular and click Show Developer Tab in the Ribbon.

To access the VBE press ALT + F11, Insert, Module. You can now paste the code into the module; press ALT + Q to close the Editor an return to the spreadsheet page.

To run the macro press ALT + F8 to see a list of all the macros in the workbook. Select one and click Run.

Adding a Button
Alan has a page on adding buttons to a sheet in the macros section, But quickly:
1. Choose Developer Tab, Controls, Insert drop button; the first control is a Form command Click this.
2 Draw the button onto the sheet and this opns the Assign Macro Form. Select the macro name and choose OK.
3 While the Button is still actice change the text (if you missed this out you can right-click the button and choose Edit Text, or reassign the buton to another macro

Finally, Allan has just started a macro tutorial.get signed up. I looked at the first lesson (Recording macros) and it was very impressive,


2017-02-09 17:06:22

mike

would you kindly explain how to do the rest of the operations. make a macro, make a button, etc?

Thank you


This Site

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.

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.