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: Working With Multiple Printers.

Working with Multiple Printers

by Allen Wyatt
(last updated December 23, 2015)

2

You already know that Windows supports multiple printers. Using Excel with multiple printers can be a bother, however, since you must display the Print dialog box (Excel 2007) or the Print information (Excel 2010 and Excel 2013), change the printer, and then print the worksheet.

There is a way, however, that you can have one-click printing of your worksheets on a designated printer. To do this, simply create a macro that changes the printer and then prints the worksheets. Here is a macro that will accomplish the task:

Sub GoodPrinter()
    Application.ActivePrinter = "HP LaserJet"
    ActiveWindow.SelectedSheets.PrintOut Copies:=1
End Sub

When you create this macro on your system, make sure you change the printer name in the second line of the macro. It must exactly match the name of a printer on your system. (In this example the printer name is set to "HP LaserJet". You should change it to match the name of the printer you want used.)

The trick is to create one of these macros for each of the printers you use. You can add a command for each printer to your Quick Access Toolbar so that each printer has its own print button. When you then click on the command or button, the appropriate macro is run and you get output on the desired printer.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12578) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Working With Multiple Printers.

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

Using Dot Leaders in Special Tables

Adding dot leaders before page numbers in a table of contents or table of authorities can make the finished table look ...

Discover More

Editing Comments

Comments can be very helpful in a worksheet. After they are added, you may want to change what they contain. Here's how to ...

Discover More

Removing Author Information

Word automatically stores lots of author-related information within a document. Because this data is stored in several ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Printing a Single Column in Multiple Columns

Ever printed out a worksheet only to find that you have text only at the left side of each page? You can use more of each ...

Discover More

Using Duplex Printing

Need to print on both sides of a piece of paper? If your printer can handle it, you can duplex your output from within Excel. ...

Discover More

Hiding a Hyperlink on a Printout

Hyperlinks can be real handy in a workbook, but you may not always want them visible when you send the workbook to the ...

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 one more than 9?

2015-12-23 13:07:55

Morris Manning

This tip works great if file is used only on user's computer. If file may be copied or moved to another computer which may not have access to same printers, I would put a line in print macro to bring up a printer selection option. There are various ways to do this.


Sub QuickPrint()
'Prints to default printer
ActiveWindow.SelectedSheets.PrintOut Copies:=1
End Sub

Sub SelectPrinter()
'Opens Printer Selection Dialog
Application.Dialogs(xlDialogPrinterSetup).Show
End Sub

Sub OpenPrintPreview()
'Opens Print Preview Dialog
ActiveWindow.SelectedSheets.PrintPreview
End Sub


2015-03-20 00:25:36

Jojo Berago

I have a workbook with 4 sheets that normally prints on Toshiba Laser Printer using A4-size paper. Now I want to add another sheet that I needs to be printed on Intermec Barcode Printer using a continuous form of 4"x2" label (which is defined as "New Stock" size).
When I changed the page setup of this 5th sheet, the other worksheets 1-4 also changed... and there is no more option to set the page size to A4-size because the Intermec Barcode Printer does not handle this paper size.
How do I setup my 5th worksheet to different printer without affecting the other worksheets?


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.