.NET自动化Excel和PowePoint [英] .NET Automation of Excel and PowePoint

查看:64
本文介绍了.NET自动化Excel和PowePoint的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用Excel,PowerPoint和Office对象库引用的应用程序。它正在更改Excel连接和刷新数据中的连接字符串。如果还将图表,数据透视表等从Excel复制到PowerPoint。我在
遇到问题的地方是当我执行"退出"时Excel和PowerPoint的方法,实例真的不关闭。在excel的情况下,他们保持开放直到我的申请结束。 PowerPoint永远不会关闭。如何获得这些资源
来清理和关闭?



Lee

I have an App that is using references to the Excel, PowerPoint and Office object libraries. It is changing the connection string in excel connections and refreshing data. If also copies Charts, PivotTables etc. from Excel to PowerPoint. Where I am running into an issue is that when I execute the "Quit" method for Excel and PowerPoint, the instances really do not close. In the case of excel they stay open until my application closes. PowerPoint just never closes. How do I get these resources to clean-up and close out?


Lee

推荐答案



这个是讨论Office 365开发人员的问题和反馈的论坛,我将把您的问题转到开源人员的EXCEL的MSDN论坛:

Hi ,
This is the forum to discuss questions and feedback for Office 365 for Developers, I'll move your question to the MSDN forum for EXCEL for Developers :

https://social.msdn.microsoft。 com /论坛/办公室/ en-US / home?forum = exceldev 

https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=exceldev 

我们建议适当发布的原因是您将获得最合格的受访者群, 

和定期阅读论坛的其他合作伙伴可以分享他们的知识或从与我们的互动中学习。 

The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, 
and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. 

感谢您的理解。


这篇关于.NET自动化Excel和PowePoint的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆