bottom
Great ExcelTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > ExcelTips Home > Printing > Printing an Entire Workbook by Default

Printing an Entire Workbook by Default

Summary: Need to print an entire workbook? It’s as easy as adding a single line of code to your macros. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, Excel 2003, and Excel 2007.)

When you choose to print in Excel, the Print dialog box has controls that allow you to specify many things about the print job. The controls in the Print What area of the dialog box allow you to indicate whether you want to print the selected worksheets, the selection, or the entire workbook. The option in the Print What area 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 in the Print What area 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 a toolbar and assign this macro to that button. When you want to print the entire workbook, just click on the button. Easy and quick.

Tip #2001 applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003 | 2007


More Power! Expand your skills and make Excel really sing! It's all possible with macros. The best resource anywhere for macros is ExcelTips: The Macros. Check it out today!

Helpful Links

Ask an Excel Question
Make a Comment

Tips.Net Home
Vital News Home

ExcelTips FAQ
ExcelTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
ExcelTips Site

 

Great Info!

Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)