disable print option for web page

B

baha

I have a word file which saved as web page. I placed following codes
to disable printing for this file. If I open the file with MS Word,
the codes work perfectly well. However I do not want the user print
the file even as single web file format. Is that possible?Thank you in
advance
Baha
My code as below:

Sub FilePrint()
MsgBox "Printing not allowed."
End Sub
Sub FilePrintDefault()
FilePrint
End Sub
 

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