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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top