
Tips.Net > WordTips Home > Printing > 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
Create and Merge! Discover how to use Word's mail merge tool to create your own custom documents. WordTips: Mail Merge Magic includes all the information you need to make your merges more productive.
Learn to use styles and you discover the real power behind Word. Fast, easy, consistent document formatting and updating is within your grasp. (more information...)
Ask a Word Question
Make a Comment
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