Hi David,
In Word when you press the SaveAs button, an event DocumentBeforeSave
is available. Does anybody knows how to get a similar event (or
simulate one), but after the action, something that could be called
DocumentAfterSave
As long as you're working in the Word application environment, you'd
name a procedure FileSave (and probably another named FileSaveAs to
catch calling the dialog box). You'd then have Word execute its normal
functions (by saving the document or SHOWing the dialog box), and
following that code, the code you want to have run after the save has
taken place.
For other cases, I'd say use the DocumentBeforeSave event, but set
Cancel to True. Then your code can control saving, and what happens
after.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail