Do you wish to save prompt

G

Guest

I am no longer prompted to save when I am closing out of excel - even though
I have made changes to the file. Auto-save is still set, however, if I exit
before saving excel will just close. I have search through tools/options,
but am seeing nothing.

Thanks!
 
G

Guest

Look for any macro that has:

ActiveWorkbook.Saved = True

in it. Excel wil not prompt you if it THINKS the file has already been
saved. For example, puttting the following in ThisWorkbook code will avoid
the prompt entirely during File > Quit

Private Sub Workbook_BeforeClose(Cancel As Boolean)
ActiveWorkbook.Saved = True
End Sub
 

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