Ahmed,
Here's Jay's reply to a similar question.
>>>Quote
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
>>>UnQuote
> hello everyone
> I have a macro that is supposed to run if a document is saved.
[quoted text clipped - 4 lines]
> than you
> ahmed

Signature
Russ
drsmN0SPAMikleAThotmailD0Tcom.INVALID