How can you turn off "Do you want to save changes you made to ..."

C

Cereal Killer

How can you turn off "Do you want to save changes you made to 'filename'.xls"
when closing a file, in Excel 2003, if you made no changes. Excel used to
recognize that no changes were made.
 
M

Mike H

Hi,

To generate this prompt something is changing in the workbook even if you
don't recognise it as being a deliberate change but you could do this. Alt
+F11 to open VB editor. Double click 'This Workbook' and paste this in on the
right

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

But be aware you won't get the prompt to save if you have made changes you
want to keep and could end up losing them. My view FWIW, I wouldn't do it but
perhaps that's just my instinct to protect data.

Mike
 

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