+ Reply to Thread
Results 1 to 3 of 3

Preventing the "Do you want to save the changes you made..." from popping up.

  1. #1
    Forum Contributor jonvanwyk's Avatar
    Join Date
    06-28-2010
    Location
    Iowa, USA
    MS-Off Ver
    Excel 2010
    Posts
    452

    Preventing the "Do you want to save the changes you made..." from popping up.

    The ribbon is removed in my form, so users cannot save the form unless they hit "Ctrl S" or choose "Yes" when closing the document and are promoted with "Do you want to save the changes you made?" I would like to remove the prompt asking them if they want to save the document. The base form should always be blank when the next person opens it.

    Also, perhaps my approach above is the wrong for what I am wanting to do. Is there instead code that can be put into my code below to simply erase any information entered into the form since the last save? This way, if the user chooses "Yes" to save the changes, the information they entered gets erased anyway?

    Please Login or Register  to view this content.
    Last edited by jonvanwyk; 07-22-2011 at 01:15 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Preventing the "Do you want to save the changes you made..." from popping up.

    Hello jonvanwyk,

    Set the Saved property to True before the workbook is closed.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor jonvanwyk's Avatar
    Join Date
    06-28-2010
    Location
    Iowa, USA
    MS-Off Ver
    Excel 2010
    Posts
    452

    Re: Preventing the "Do you want to save the changes you made..." from popping up.

    worked like a charm. thank you.

+ 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