Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Message Box in Microsoft Word

Status
Not open for further replies.

emzadi

IS-IT--Management
Feb 13, 2001
69
US
Hi. I have written VB code for Access, but never for Word. I am simply trying to get a message box to display when a certain document made from a template is printed. Ideas? Suggestions? Criticisms?

Thanks!

Susan
emzadi1@yahoo.com Susan M. Wagner
LAPELS
emzadi1@yahoo.com
susanw@lapels.com
 
Can you use the MsgBox command?
Code:
MsgBox "Document Printed!"
 
Yes, I can. However, there are two problems.
1. The message box only appears when the template is opened, not when a user clicks on the template and a new document is created from the template.
2. I need to have the message box appear after the document is printed, but there is no "print" event available, only "new", "open", and "close".

Any more ideas?
Thanks! :) Susan M. Wagner
LAPELS
emzadi1@yahoo.com
susanw@lapels.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top