Macro Intro
This Word macro allows you to print a Word Document with one click. The Word Auto Print macro is designed to be called off your Outlook Calendar using the Calendar Reminder Macros. Leveraging your Outlook Calendar, you can schedule Word Documents to automatically print reoccurring monthly, weekly, whenever you need! Printing is only delayed by a Message Box ensuring that you are available to pick up the printout. (This Message Box can be suppressed see Customization section below) Don’t let printing a meeting agenda delay valuable collaboration time instead schedule for it to happen automatically on your Outlook Calendar!See it in Action
Watch this video to see this macro in action.Code
Here is the code for this macro. Make sure the following References are setup before running it: Visual Basic For Applications, Microsoft Word 16.0 Object LibraryCustomization
These segments of code can be customized to personalize this macro.
MsgBox ("Pick up the document " & ActiveDocument.Name & " at the Printer.") 'Delay Printing until OK
By Default the Word Auto Print Macro will display a MsgBox awaiting your approval to submit the Word Document to be printed. If you would like the printing to occur immediately upon the Word Auto Print macro running then remove this MsgBox.
By Default this Word Auto Print Macro will keep the Word Document being printed open. If desired you can make this code line active to close the document upon being printed.