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,
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.

Signature
Heureux-oli
http://heureuxoli.developpez.com/
----------------------------------------------------------------------------------
>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,
Souris - 11 Feb 2008 14:13 GMT
Thanks for the message,
Does the code run if user open the document using MS Word Viewer?
I use version 2003.
Thanks again,
> Which version of Word do you use ?
> You have to check if the security level is as low as code can run.
[quoted text clipped - 8 lines]
> >
> > Your help is great appreciated,
heureux-oli - 11 Feb 2008 20:04 GMT
Sorry,
But I never tried.

Signature
Heureux-oli
http://heureuxoli.developpez.com/
----------------------------------------------------------------------------------
> Thanks for the message,
> Does the code run if user open the document using MS Word Viewer?
[quoted text clipped - 17 lines]
>> >
>> > Your help is great appreciated,
Jonathan West - 12 Feb 2008 23:20 GMT
> 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.

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Souris - 13 Feb 2008 03:36 GMT
Thanks for the iformation,
> > 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.