Discussion:
How word detects AutoSave?
(too old to reply)
Dhananjay
2008-09-05 12:11:14 UTC
Permalink
Hi All,
I am developing one VSTO addin using VB 2005 for Word 2007.
In Application_DcoumentBeforeSave event, I am getting SaveAsUI =
False
for Save & AutoSave from Word.
I am wondering, how the Word knows the difference between Save and
AutoSave. Basically I need this difference for my programming logic.
Thanks in advance,
Dhananjay
macropod
2008-09-13 09:50:57 UTC
Permalink
Hi Dhananjay,

The AutoSave event isn't accessible via vba. However, if you're simply trying to test whether the document has been saved by the
user since it was last edited/updated, you can test the 'saved' state with something like: :
MsgBox "Active Document Saved: " & ActiveDocument.Saved
--
Cheers
macropod
[MVP - Microsoft Word]
Post by Dhananjay
Hi All,
I am developing one VSTO addin using VB 2005 for Word 2007.
In Application_DcoumentBeforeSave event, I am getting SaveAsUI =
False
for Save & AutoSave from Word.
I am wondering, how the Word knows the difference between Save and
AutoSave. Basically I need this difference for my programming logic.
Thanks in advance,
Dhananjay
Loading...