In a line of business application I'm working on, we have the ability to export to Excel, which we achieve through Excel automation. We have two methods of exporting - one which saves the files and then goes to attach them to an Outlook email (again through automation); the other is effectively a 'preview' which performs the export to Excel, but makes the application visible at the end, rather than saving/emailing.
One of the issues being reported is that when they preview, make no changes, and try to close Excel, it prompts with the standard "do you want to save your changes". Their opinion is that as they haven't made any changes, it shouldn't show this message.
Is there any way of suppressing this message, short of forcing a save to a location that we have to manually clean out "at a later point in time"?