Is there a way to restrict a user from printing anything from a workbook unless they have the correct password?
I am guessing that writing a macro and protecting the sheet is the way to go, but I am not completely sure.
Any ideas?
Is there a way to restrict a user from printing anything from a workbook unless they have the correct password?
I am guessing that writing a macro and protecting the sheet is the way to go, but I am not completely sure.
Any ideas?
Last edited by nbuk; 08-04-2010 at 12:04 PM.
This code entered into the "This Workbook" module should do the trick. In my example, the line Const pw = "12345", the password is 12345. Change this to suit:
![]()
Please Login or Register to view this content.
Thanks I came across a similar code a couple of minutes ago!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks