running macro

S

Souris

I have a code in Document_Open, but it does not run the code.
I use debug and set break point and realized that code even not fired.

Are there any places need configure to triggle the code?


Your help is great appreciated,
 
H

heureux-oli

Which version of Word do you use ?
You have to check if the security level is as low as code can run.

Document_Open will only run when you open the document containing the code.
If you place it in the normal.dot, you code will run for all the document.
 
S

Souris

Thanks for the message,
Does the code run if user open the document using MS Word Viewer?

I use version 2003.

Thanks again,
 
J

Jonathan West

Souris said:
Thanks for the message,
Does the code run if user open the document using MS Word Viewer?

I use version 2003.

No. Macros do not run at all if the document is opened using Word viewer.
 

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