T Tim Dec 22, 2005 #1 Is there anyway i can get outlook to print a word file when a appointment is made the calendar ? Best Regards, Tim Garratt
Is there anyway i can get outlook to print a word file when a appointment is made the calendar ? Best Regards, Tim Garratt
K Ken Slovak - [MVP - Outlook] Dec 22, 2005 #2 Trap the ItemAdd event for the Items collection of that folder and when the event fires automate Word to print the document.
Trap the ItemAdd event for the Items collection of that folder and when the event fires automate Word to print the document.
T Tim Dec 26, 2005 #3 Please could you explain, or maybe give some example code. I would be really grateful as I'm new to this. Tim Garratt
Please could you explain, or maybe give some example code. I would be really grateful as I'm new to this. Tim Garratt
K Ken Slovak - [MVP - Outlook] Dec 27, 2005 #4 http://www.outlookcode.com/d/code/zaphtml.htm and http://www.outlookcode.com/d/code/remindbday.htm show examples of ItemAdd event handlers. One for the Inbox, the other for Contacts. That type of code can be adapted to work in the Calendar folder. Examples of automating Word and other applications to print things are at http://www.outlookcode.com/d/customprint.htm
http://www.outlookcode.com/d/code/zaphtml.htm and http://www.outlookcode.com/d/code/remindbday.htm show examples of ItemAdd event handlers. One for the Inbox, the other for Contacts. That type of code can be adapted to work in the Calendar folder. Examples of automating Word and other applications to print things are at http://www.outlookcode.com/d/customprint.htm