Differentiate between Save And AutoSave

D

Dhananjay

Hi All,
I am developing word addin using VSTO / vb 2005 / Office 2007.
Actually I need Word's DocumentAfterSave event, which unfortunately
not supported in Word Object Model.
So I trapped DocumentBeforeSave event of Application object for that
purpose. But unfortunately, Save button's event OR Word's AutoSave
event calls same DocumentBeforeSave event. So I need to differentiate
between these 2 calls. How I can check whether the call to
DocumentBeforeSave is coming from Save Button's click event or it is
coming from AutoSave internally?

Thanks in advance,
Dhananjay
 

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