J
jtanaka
I'm storing several macros in a Word 2003 .dot file for maintainability
reasons.
In test.dot:
Sub CreateMenu()
....
End Sub
I have a document with this template attached and I want it to run one of
the macros from the template when this document is opened.
Private Sub Document_Open()
Call CreateMenu
End Sub
When I attempt to run this macro, I get the Compile Error: "Sub or Function
not defined"
How can I make sure that the macros stored in a template used by the word
document that I am opening will be loaded when Document_Open() is run?
reasons.
In test.dot:
Sub CreateMenu()
....
End Sub
I have a document with this template attached and I want it to run one of
the macros from the template when this document is opened.
Private Sub Document_Open()
Call CreateMenu
End Sub
When I attempt to run this macro, I get the Compile Error: "Sub or Function
not defined"
How can I make sure that the macros stored in a template used by the word
document that I am opening will be loaded when Document_Open() is run?