Word.Tips.Net WordTips (Menu Interface)

Printing On Both Sides of the Paper

Some printers have the capability to print on both sides of a piece of paper. This feature is called duplexing, and it can add a big chunk of change to the cost of a printer. If your printer doesn't have duplexing, the only way to achieve the same result is to pass your paper through the printer twice. The following VBA macro will assist you in this process. It first prints the odd pages in a document, prompts you to turn the paper over, and then prints the even pages.

Sub PrintBothSides()
    Dim iTemp As Integer

    ActiveDocument.PrintOut Copies:=1, PageType:=wdPrintOddPagesOnly
    iTemp = MsgBox("Switch paper to continue", vbOKCancel, "PrintBothSides")
    If iTemp = vbOK Then
        ActiveDocument.PrintOut Copies:=1, PageType:=wdPrintEvenPagesOnly
    End If
End Sub

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1418) applies to Microsoft Word 97, 2000, 2002, and 2003.

Related Tips:

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!


Leave your own comment:

  Notify me about new comments ONLY FOR THIS TIP
Notify me about new comments ANYWHERE ON THIS SITE
Hide my email address
*What is 5+3 (To prevent automated submissions and spam.)
           Commenting Terms

Comments for this tip:

Phil Husband    10 Nov 2013, 14:31
I have a printer that will print on both sides of the page before going to page 3 for example. However I have MS word 2003 and I can only print on one side. Publisher 2003 allows me to print on both sides. Any help you can give will be appreciated.
Milind Karnik    25 Feb 2012, 21:26
Please note that you must consider how you get the printed document. On my HP1070, I get the printed pages face down. So, if I want to maintain normal order of printed pages, I must instruct the macro to print "backwards" in the second go. Further, if the entire document has odd number of pages, then I must also work out whether to include the last printed odd page while switching pages. One can add a message to this effect based on page count.

Hope this is useful.

Our Company

Sharon Parq Associates, Inc.

About Tips.Net

Contact Us


Advertise with Us

Our Privacy Policy

Our Sites


Beauty and Style




DriveTips (Google Drive)

ExcelTips (Excel 97–2003)

ExcelTips (Excel 2007–2016)



Home Improvement

Money and Finances


Pests and Bugs

Pets and Animals

WindowsTips (Microsoft Windows)

WordTips (Word 97–2003)

WordTips (Word 2007–2016)

Our Products

Helpful E-books

Newsletter Archives


Excel Products

Word Products

Our Authors

Author Index

Write for Tips.Net

Copyright © 2016 Sharon Parq Associates, Inc.