如何在 Office 2010 中自动创建 Word 文档
内联网网站应该从模板创建一个Word文档客户端 服务器端并让客户端编辑它。 在 Office 2007 中有效的代码不再有效,我在 google 上找不到任何方法。 我使用了这个代码行,这是我在谷歌中找到的唯一代码,但仍然没有
dim appWord
set appWord = New Word.Application
人能告诉我如何创建一个与 Word 2010 一起使用的 Word 应用程序对象。 提前谢谢。
编辑:我需要该对象能够从各种Word文档中获取部分并将它们以某种形式复制粘贴到单个文档中
The intranet website is supposed to create a word document client-side from templates
server-side and let the client edit it.
The code that worked in office 2007 doesn't work any more and I can't find any way to do it on google.
I used this code lines which was the only code i did find in google and still nothing
dim appWord
set appWord = New Word.Application
can anyone tell me how to create a word app object that works with word 2010.
thx in advance.
Edit: I need the object to be able to takes parts from various word documents and copy paste them into a single document in a certain formation
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用open xml sdk创建和编辑office文档,请参阅:http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=5124
虽然下载页面显示 Office 2007,但它适用于2010年也是如此。
You can use the open xml sdk to create and edit office documents, see: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=5124
Although the download page says office 2007, it works for 2010 as well.