template document_open

K

KWarner

I have a template that works as designed except for a small problem. After a
document is created using the template and then saved and re-opened, the
Document_Open doesn't fire. This only happens when the user has to enable
Macros manually, rather than have them enabled automatically because of a
non-trusted network location.
With a normal macro enabled document, if you enable macros manually, the
file reloads itself. Is there a work-around for template based documents that
will accomplish the same goal (fire the Document_Open method)?

Thanks for your help.
 
J

Jonathan West

KWarner said:
I have a template that works as designed except for a small problem. After
a
document is created using the template and then saved and re-opened, the
Document_Open doesn't fire. This only happens when the user has to enable
Macros manually, rather than have them enabled automatically because of a
non-trusted network location.
With a normal macro enabled document, if you enable macros manually, the
file reloads itself. Is there a work-around for template based documents
that
will accomplish the same goal (fire the Document_Open method)?

Thanks for your help.

Try putting your code into a macro called AutoOpen instead of using the
Document_Open event.
 
Top