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

Tips.Net > WordTips Home > Printing > Printing All Open Documents with WordBasic

Printing All Open Documents with WordBasic

Summary: Got a bunch of open documents? Want to print them all? Here's a handy WordBasic macro that will do the trick. (This tip works with Microsoft Word 6, and Word 95.)

Periodically you may be working with multiple documents on the screen at the same time, and you want to print them all. This can be cumbersome, at best, but manually switching between documents and then choosing to print each one. The following WordBasic macro allows you to print all open documents, and then returns you to the document you were viewing when you ran the macro.

Sub MAIN
' Note the current window name
CurWin$ = WindowName$()

' Step through the open document windows
For J = 1 To CountWindows()
   FilePrint
   NextWindow
Next J

' Go back to original window
Activate CurWin$
End Sub

Tip #400 applies to Microsoft Word versions: 6 | 95


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

Helpful Links

Ask a Word Question
Make a Comment

Tips.Net Home
Vital News Home

WordTips FAQ
WordTips Premium

Learn Access Now

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

Advertise on the
WordTips Site

 

Great Info!

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