
Tips.Net > WordTips Home > Printing > 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
Step Up and Take Control! Subscribers to WordTips know just how valuable a resource it is. WordTips Premium provides twice the number of exceptional, easy-to-understand tips every week in an ad-free newsletter, as well as substantial discounts on WordTips archives and e-books.
Check out WordTips Premium today!
Thousands of WordTips, available for immediate download. Have all the Microsoft Word info you need, right at your fingertips. (more information...)
Ask a Word Question
Make a Comment
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