Quit Excel Application with OLE
How can I permanently end an excel application using OLE Automation?
I would like to do this in some exception handling so that the excel process doesn't work if the function throws an error.
I am currently using the below code to open excel:
Variant excel = Variant::CreateObject("Excel.Application");
+2
source to share