You need to call your macro from either an "Auto" macro or an event handler.
It can be difficult to anticipate and catch all the possible ways a document
could be saved or closed, so you have some studying to do.
See http://www.word.mvps.org/FAQs/MacrosVBA/PseudoBeforeClose.htm,
http://www.word.mvps.org/FAQs/MacrosVBA/DocumentEvents.htm and
http://www.word.mvps.org/FAQs/MacrosVBA/ApplicationEvents.htm.

Signature
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
> Hi,
>
[quoted text clipped - 9 lines]
>
> Gary.