+ Reply to Thread
Results 1 to 4 of 4

Password protection...

  1. #1
    Registered User
    Join Date
    11-23-2006
    Posts
    21

    Password protection...

    Hello,
    Can any of my peers on this forum please enlighten me as to;
    Is there a method whereby excel can automatically be password protected (either workbook or worksheet or both) when closing?
    What I am trying to achieve is (at least) an automatic notification (or reminder) to employ the password to protect when closing the workbook/sheet.
    Appreciate your time and advice.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482
    I have this code when openning a workbook......

    Please Login or Register  to view this content.
    I suppose you could use the code in a Workbook_close event

    If you need to know where the different modules are go to this site

    http://www.contextures.com/xlvba01.html#Workbook

  3. #3
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by davesexcel
    I have this code when openning a workbook......

    Please Login or Register  to view this content.
    I suppose you could use the code in a Workbook_close event

    If you need to know where the different modules are go to this site

    http://www.contextures.com/xlvba01.html#Workbook
    Hi Dave,

    the Workbook close event is good, otherwise simply disabling Macros will defeat your password.

    ---
    Si fractum non sit, noli id reficere.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482
    Quote Originally Posted by Bryan Hessey
    Hi Dave,

    the Workbook close event is good, otherwise simply disabling Macros will defeat your password.

    ---
    You Know I have never thought of that, thanks Bryan

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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