You would need to use some form of digital rights management I would think on the files in question because you only set read, write, create, modify, etc on files through windows or set who has access to certain printers.
Private Sub workbook_BeforePrint(Cancel As Boolean)
Cancel = True
MsgBox "Sorry, you cannot Print from this workbook", vbInformation
End Sub
this is not heavy protection but will work for a majority of end users. also the workbook_Befor???????? works for many menu functions like workbook_BeforSaveAs and so on and is a functional event hook.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.