General information
Category:
COM/DCOM and OLE Automation
Environment versions
Network:
Windows 2003 Server
>>I am writing an excel automation sample to export data to excel from a query. I would like to save a file, without the prompt.. i.e. force the save.
>>
>>I am creating the object from a template, the issue is when I do the save as, I get the following error about it being a different version of excel and some information would be lost. (Nothing will, there are no formulas...)
>>
>>How do I force a save, and ignore this error?
>
>Set the XL Application object's DisplayAlerts to False.
Works like a charm!
Thanks again,
Mike
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only