Event handling by startup template

P

Paramesh

I have a template named global.dot in my Startup directory, and in teh
template I have defined the document open, close, save and new event
handlers. My purpose is that whenever any document is opened, it triggers the
opne event and sets some option settings in a specific way. It works well
when I am opening a document manually (e.g. from the explorer).
However, I have another VB program, where I am instantiating an application
object (myword as new word.application), and then opening a document from the
program. In this case, the custom event handler that I defined in the
global.dot doesn't work. Can anyone help me with this problem?

Thanks
Paramesh Kumar
 

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