Word.Tips.Net Welcome toWord.Tips.Net

Helpful Links

Tips.Net Home
WordTips Home

Ask a Word Question
Make a Comment

Tips.Net Store

WordTips FAQ
WordTips Premium

Learn Access Now
Free Printable Forms

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

Newest Tips

Arranging Document Windows

Specifying a Backup Location

Controlling Chart Gridlines

Merging Table Cells

Collapsing and Expanding Subdocuments

Zooming With the Keyboard

Initiating a New Search

 

Printing On Both Sides of the Paper

Summary: A VBA macro to allow duplex printing. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)

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

Tip #1418 applies to Microsoft Word versions: 97 | 2000 | 2002 | 2003 | 2007

More Power! For some people, the prospect of creating Word macros can be scary. WordTips: The Macros can help you conquer your fears and you'll discover you're much more confident and productive as you make Word do exactly what you want. This is an invaluable source for learning macros. You are introduced to the topic in bite-sized chunks, pulled from past issues of WordTips. Learn at your own pace, exactly the way you want.
 
Check out WordTips: The Macros today!