+ Reply to Thread
Results 1 to 4 of 4

Password to Prevent Saving

  1. #1
    Registered User
    Join Date
    04-03-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010, Excel 2013
    Posts
    75

    Password to Prevent Saving

    Hi again all. I have a workbook that I would like to prevent other users from saving locally (disable save all together). I have some simple code which does the job 90% of the way, but I am now caught in a loop.

    Please Login or Register  to view this content.
    Obviously my problem here is that if I remove the password from O1 then I cant save to workbook myself to distribute to others, but if i leave the password in and send it out well....that clearly defeats the purpose of the whole thing lol.

    Help is appreciated, if possible it'd be great to have excel launch a userform where the password can be entered before attempting to save; though I feel like if my initial problem here can be solved then I might be able to take care of that bit myself. Thanks in advance.
    Last edited by prjt; 11-28-2014 at 02:43 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,751

    Re: Password to Prevent Saving

    Untested:

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    04-03-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010, Excel 2013
    Posts
    75

    Re: Password to Prevent Saving

    Simplicity at it's finest; don't know why I didn't think of it. Works fine, thanks for the help!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,751

    Re: Password to Prevent Saving

    You're welcome.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. prevent a sheet from saving
    By CappyLarou in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-27-2011, 09:08 AM
  2. Prevent saving
    By LydiasDad in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-11-2011, 02:40 PM
  3. Prevent a Saving Error
    By JamesT1 in forum Excel General
    Replies: 7
    Last Post: 08-26-2008, 01:55 PM
  4. Prevent users from saving
    By hr3 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-20-2006, 10:36 PM
  5. prevent saving a worksheet
    By looking4help in forum Excel General
    Replies: 2
    Last Post: 03-17-2005, 07:06 PM

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