Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / July 2007

Tip: Looking for answers? Try searching our database.

save and save as

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
FotoArt - 22 Jul 2007 12:08 GMT
hello everyone
I have a macro that is supposed to run if a document is saved.
i have a line like this: activeDocument.save
But I find when a document is saved by choosing file and save as the macro
wouldnt run.
How do I enable the macro to run on both circumstances.
than you
ahmed
Russ - 22 Jul 2007 22:19 GMT
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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.