+ Reply to Thread
Results 1 to 3 of 3

No do you want to save on exit

  1. #1
    Registered User
    Join Date
    01-07-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    13

    No do you want to save on exit

    When I exit excel I don't want it to ask if I want to save changes. I currently have a command button to exit;

    Please Login or Register  to view this content.
    Most of the help I've seen details using a workbook event. I could not get this to work. I want to close the whole excel application anyway not just the workbook.

    Can anyone help with an additional bit of code to add to the above to stop the save request on exit?

    I'm a vba novice so keep it basic please!

    If it needs to be a seperate pice of code, how do I link it to the exit button?

    Any help very much appreciated.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: No do you want to save on exit

    Hi,

    try this:
    Please Login or Register  to view this content.
    Warning. Excel will simply close. Regardless of whether you've saved your work or not. That is with regards to all open workbooks!!

  3. #3
    Registered User
    Join Date
    01-07-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: No do you want to save on exit

    I'll give that a try, thanks

+ 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