Yes - the Automation Events are enabled. I normally have the Security level
set to 'medium' so I am asked to enable the macros (which I do) when the
stencil is opened. I have also tried at the 'low' security level but this
makes no difference to the activation of the stencil macro.
from my original post:
However, debug.print and
msgbox statements in that method are not called and neither is the
initialisation code I have in there.
Once I had the docment and stencil opened, I added the same code (minor
difference in the text so I could tell which was which) from the stencil
DocumentOpen macro in the document's DocumentOpen macro and saved the
document. When I opened the document again, I received the security warnings
about macros in both the document and the stencil, but the message box
displays and the debug print statements only occurred from the document macro
(not the stencil one)
Thanks for the assistance