+ Reply to Thread
Results 1 to 3 of 3

Request password before printing

  1. #1
    Registered User
    Join Date
    06-25-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    34

    Question Request password before printing

    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.

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127

    Re: Request password before printing

    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.

  3. #3
    Registered User
    Join Date
    06-25-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    34

    Re: Request password before printing

    Thanks I came across a similar code a couple of minutes ago!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1