我需要在现有的 Word 文档中自动添加模板(.dot)。我可以像下面一样打开现有文档
Dim ObjWord As New Microsoft.Office.Interop.Word.Application
Dim wrdoc As Microsoft.Office.Interop.Word.Document
Dim missing = Type.Missing
wrdoc = ObjWord.Documents.Open("D:\T_F\TandF_Sample.doc", missing, True, missing, missing, missing, _
missing, missing, missing, missing, missing, missing, missing, missing, missing, missing)
之后我需要附加模板文件(“D:\Temp.dot”)。是否有可能做到这一点?任何人请帮助我提供示例代码。