+ Reply to Thread
Results 1 to 3 of 3

Lock saved worksheet

  1. #1
    Registered User
    Join Date
    05-06-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    42

    Lock saved worksheet

    I have code written to auto save the active worksheet when a button on my user form is pressed. What I would like to know is if there is a way to lock the worksheet when the button that triggers the save event is pressed behind the scenes so the end user has a more difficult time editing the sheet. I know they can just resave the document and the protection will be gone, but for minimizing user manipulation please let me know.

    Ken

    By the way, to all of you who have helped me on this project so far, I can't tell you how greatful I am to be in the company of such programming expertise. THANK YOU!
    Last edited by KLahvic; 05-29-2009 at 04:03 PM.

  2. #2
    Registered User
    Join Date
    05-22-2009
    Location
    UK
    MS-Off Ver
    Excel 2000,2003 and regretably 2007
    Posts
    77

    Re: Lock saved worksheet

    you could use a code like
    Please Login or Register  to view this content.
    and you can put a password in the brackets... dont know if this will be of any help, sorry i cant post more for some reason this site times out if i try to do more in depth responses!

  3. #3
    Registered User
    Join Date
    05-06-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Lock saved worksheet

    Works perfectly, just had to play with the placement of the code. Thank you very much, you have been added to the list of rock stars who had their hand in the development of this tool.

    Ken

+ 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