Word 2010 Templates/Addin/Document passing starting arguments

こ雲淡風輕ζ 提交于 2019-12-11 01:38:34

问题


I'm trying to create a word template or addin as a means to enter data into a form. It will be tied to a database through service calls. I'm wondering if there is a way to start this document by passing it an Id for the record it's tied to. I would like to open up the word document from another .NET program passing it the Id so it knows where to get its data. Is this possible? or am I looking at this all wrong?


回答1:


I use Custom Document Properties to store lot of things about the document.

How to: Create and Modify Custom Document Properties

http://msdn.microsoft.com/en-us/library/dhxe2d75.aspx



来源:https://stackoverflow.com/questions/9083528/word-2010-templates-addin-document-passing-starting-arguments

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!