AutoRecover vs. Save

G

Guest

Is there a way to determine if a Save was provoked by the normal Save method
(i.e., toolbar, File/Save, or ActiveDocument.Save) vs the AutoRecover save?

JBL
 
G

Guest

Though I respect your opinion, that's actually not true.

If you use a BeforeSave Sink procedure in a class and add a MsgBox "About to
Save", and you wait for AutoRecover...your will see the "About to Save"
message box.

In other words, the system does not know the difference between the two
types of saves.

Doug
 
K

Klaus Linke

Jezebel said:
Think of it in terms of result rather than event. If you use a command form
of save, your original file is modified. AutoRecover save does not modify
the original file. To me, that is a significant difference.

.... and pobably the reason why Doug wants to know when Word is doing only an
AutoRecover Save rather than a "real" Save.

I don't know of a solution either. Maybe you can look at Application.Tasks.

If you can figure out the .Name property of the task that does the AutoRecover
Save, you might be able to check whether that task is running at the moment that
the "BeforeSave" event fires.

Not sure, though...
Klaus
 

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