Just a heads up for consideration:
I didn't test this particular case, but help says displayalerts = false
pursues the default action of the dialog.
Using displayalerts would suppress the prompt, but the default action would
be taken and that is to save the file.
--
Regards,
Tom Ogilvy
"Darrin Henshaw" wrote in message
...
Set Application.DisplayAlerts to False, to not show the save changes
dialog box. However, that will stop Excel from prompting it, but still
give the user the ability to save it. You might want to look at the
BeforeSave event, to try to stop them from saving.
*** Sent via Developersdex http://www.developersdex.com ***