Disabling "Save before Exiting" Pop-up

K

Kenji

Everytime the user makes a change and exits Excel, a pop-up comes up to ask
if the user is sure about closing the application without saving. Is there
a way to disable this? Not just on my computer, but this sheet is run on
many computers. Thanks!

Kenji
 
B

Bob Greenblatt

Everytime the user makes a change and exits Excel, a pop-up comes up to ask
if the user is sure about closing the application without saving. Is there
a way to disable this? Not just on my computer, but this sheet is run on
many computers. Thanks!

Kenji
Yes there is, but what do you really want to do? If you simply want to
ignore all the changes the user might have made and close the document, then
you can add a workbook close event macro that contains the line:
thisworkbook.saved=true

Realize that this will ignore all changes if the user forgot to save the
document.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top