English 中文(简体)
引用另一个单词模板
原标题:reference another word template

I have a document template (.dot) which references another template (another .dot file). How does it get used? Does it get compiled beforehand and then the compiled version is stored somewhere in the temp folder? Or maybe the referenced template is compiled once before the VBA code in the referenced template is being used for the first time? I am asking because I have a strange problem: I ve corrected a bug in my referenced template, but the other template that references it behaves as if it uses the old (unmodified) template!

问题回答

根据Microsoft文档,执行的第一个vba是文档,然后是来自附加模板的vba和来自附加模板。





相关问题
Handling no results for docmd.applyfilter

I have an Access app where I use search functionality. I have a TextBox and a Search Button on the form, and it does a wildcard search of whatever the user enters in the TextBox, and displays the ...

Outlook 2007 CommandBarControl.Execute won t work

I recently switched to Outlook 2007 and noticed that my VBA-macros won t work. I use the following code to open a new appointment-item (and fill it automatically). It worked perfect in Outlook 2003, ...

Connecting to Oracle 10g with ODBC from Excel VBA

The following code works. the connection opens fine but recordset.recordCount always returns -1 when there is data in the table. ANd If I try to call any methods/properties on recordset it crashes ...

MS Access: list macro from VBA

I have to deal with a few macros (not VBA) in an inherited Access application. In order to document them, I would like to print or list the actions in those macros, but I am very dissatisfied by ...

热门标签