Check macro for word save

J

Jones

Is there any possibility of checking (and trapping the event) whether the user is trying to save the word document thru a macro?
 
J

Jezebel

You can trap the DocumentBeforeSave event, which might be sufficient; but
bear in mind that the user still gets a chance to cancel the save after this
event has been fired.

Or you can write macros called FileSave, FileSaveAs and FileSaveDefault --
these will run in place of the built-in commands (it's then up to you to
save the document as part of your code).


Jones said:
Is there any possibility of checking (and trapping the event) whether the
user is trying to save the word document thru a macro?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top