+ Reply to Thread
Results 1 to 7 of 7

Disable Save / Enable Save As

  1. #1
    Forum Contributor Gtrtim112's Avatar
    Join Date
    04-12-2013
    Location
    Alabama, USA
    MS-Off Ver
    Excel 2016
    Posts
    332

    Disable Save / Enable Save As

    I'm looking for a macro that will disable users from using the save function but allow them to save as. I have a code that works OK but here's the catch... I use this spreadsheet myself and have to save each day so I don't want to disable myself... lol. I save a MASTER file each day and then SAVE AS a user file that is shared by multiple people. I don't want to have to insert the code I have on the new spreadsheet each day.

    Here's my thinking... I'm curious if there's a code that will "disable" the disable code, save my MASTER workbook, then "enable" the enable code. That's a mouthful, right?

    I would place a clear box or button on a page that users would not see and accidentally click on. Only I would know where it's at.

    If this isn't possible, no biggie... just thought it would be a good idea.

    Here's the code that I currently have:

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,164

    Re: Disable Save / Enable Save As

    You could use something like
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor Gtrtim112's Avatar
    Join Date
    04-12-2013
    Location
    Alabama, USA
    MS-Off Ver
    Excel 2016
    Posts
    332

    Re: Disable Save / Enable Save As

    Quote Originally Posted by Fluff13 View Post
    You could use something like
    Please Login or Register  to view this content.
    The message box works just fine but how would I go about getting around the normal save function myself? I see you have the username as Fluff (funny!) but is there supposed to be a place to enter that to bypass the setting?

  4. #4
    Forum Contributor Gtrtim112's Avatar
    Join Date
    04-12-2013
    Location
    Alabama, USA
    MS-Off Ver
    Excel 2016
    Posts
    332

    Re: Disable Save / Enable Save As

    Quote Originally Posted by Gtrtim112 View Post
    The message box works just fine but how would I go about getting around the normal save function myself? I see you have the username as Fluff (funny!) but is there supposed to be a place to enter that to bypass the setting?
    Actually... nevermind... I get it now. I enter my username! haha

    Can I enter multiple usernames in the code?

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,164

    Re: Disable Save / Enable Save As

    Yup, you can do it like
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor Gtrtim112's Avatar
    Join Date
    04-12-2013
    Location
    Alabama, USA
    MS-Off Ver
    Excel 2016
    Posts
    332

    Re: Disable Save / Enable Save As

    Quote Originally Posted by Fluff13 View Post
    Yup, you can do it like
    Please Login or Register  to view this content.
    Very awesome.... thank you!

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,164

    Re: Disable Save / Enable Save As

    You're welcome & thanks for the feedback

+ 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. [SOLVED] Disable Save but Enable Save As
    By biznez in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-29-2015, 12:41 PM
  2. [SOLVED] Enable/Disable Save As in workbook
    By motolich in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-07-2013, 10:58 AM
  3. Disable/Enable Save and Save As
    By Mumps1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-30-2013, 10:33 AM
  4. Save is disabled, want to enable, save, then disable again
    By ker9 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2012, 12:32 PM
  5. excel disable save but enable with password prompt?
    By techmob in forum Excel General
    Replies: 6
    Last Post: 06-17-2011, 03:11 PM
  6. Disable Save As and Save - enable Save via button
    By LampCommandr in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-07-2011, 05:42 PM
  7. Disable/Enable Save,SaveAs & Sendto in File Menu based on condition
    By aravindhan_31 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-16-2011, 04:43 AM

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