Send email when Print is attempted

R

robzrob

I've just used these...

Sub FilePrint()
MsgBox ThisDocument.Name, vbCritical, "Printing this document is not
allowed"
End Sub

Sub FilePrintDefault()
MsgBox ThisDocument.Name, vbCritical, "Printing this document is not
allowed"
End Sub

.... to warn people not to print a particular doc. I know they can be
easily avoided, but I'm not worried about that, I just want people to
see the warning. Could they be extended to send, automatically, an
Outlook email to (e-mail address removed) when a Print is attempted?
 
R

robzrob

I've just used these...

Sub FilePrint()
MsgBox ThisDocument.Name, vbCritical, "Printing this document is not
allowed"
End Sub

Sub FilePrintDefault()
MsgBox ThisDocument.Name, vbCritical, "Printing this document is not
allowed"
End Sub

... to warn people not to print a particular doc.  I know they can be
easily avoided, but I'm not worried about that, I just want people to
see the warning.  Could they be extended to send, automatically, an
Outlook email to (e-mail address removed) when a Print is attempted?

....and then to delete that email from the sender's (print-attempter's)
Sent box?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top