I have a DLL that opens an Excel workbook and add-in.If I close the app that calls the DLL before closing Excel, when I closeExcel everything is fine.But if I close Excel while the app is still open, an instance of Excelremains in the background. Then even if I close the app, it remains there.What am I suppose to do, in my DLL, to completely release Excel. If I useoExcel.Quit() then I shut down Excel...TIA 解决方案PRB: Office Application Does Not Quit After Automation from Visual Studio .NET Client<URL:http://support.microsoft.com/?scid=kb;EN-US;317109>--Herfried K. Wagner [MVP]<URL:http://dotnet.mvps.org/> 这篇关于Excel实例保持开放状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-23 23:54