Where is your code stored? If it is in the attached template (where I would put it) then it can only be run when the template is attached and available. Other people opening the document doesn't cause the attached template setting to change (although the attached template may not be available) unless they have additional code changing the template.
The code works on my machine - perhaps your numbered paragraphs have a local override on them. If you select the first Heading 1 in the document and press Ctrl-Q and Ctrl-Space, what number is showing?
If it is still not working, can you post a sample doc I can test on? Make sure you have refreshed the styles from the template.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|