AutoSave Feature in Word

A

Andrew M

Hi

Can anyone tell me how to distinguish between a user-initiated save and
an autosave?

I understand there is a way, but I am unable to find anything.

Thanks

Andrew
 
C

Cindy M -WordMVP-

Hi Andrew,
Can anyone tell me how to distinguish between a user-initiated save and
an autosave?

I understand there is a way, but I am unable to find anything.
Which version of Word? And why do you need to make this distinction?

I think your only option is to have procedures in the current context (a
template attached to the document, for example) name FileSave and
FileSaveAs. When the user chooses these menu commands, these will fire in
place of the built-in Word command. you can trap this to do whatever you
need, as well as perform the actual save.

From what I can see, DocumentBeforeSave triggers at "saving for recovery",
which I suppose is why you're asking...

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 :)
 
A

Andrew M

Cindy

Thank you for your response. The reason I need to make the distinction,
is because the addin I am making will file a word/excel/ppt doc into a
document management system. When the autosave goes off, the document tries
to file. However, the user may not be ready for this, and so, I would like
the integration to not 'nag' the user to file every time Word autosaves. I
just want to have the logic to give the user this choice.

BTW, the solution must work for Word/Excel/PPT 2000/XP/2003

Thanks again,

Andrew
 
C

Cindy M -WordMVP-

Hi Andrew,
The reason I need to make the distinction,
is because the addin I am making will file a word/excel/ppt doc into a
document management system. When the autosave goes off, the document tries
to file. However, the user may not be ready for this, and so, I would like
the integration to not 'nag' the user to file every time Word autosaves. I
just want to have the logic to give the user this choice.

BTW, the solution must work for Word/Excel/PPT 2000/XP/2003
I very much doubt that you'll find a single solution for all applications,
and I recommend you ask in appropriate (app-specific) newsgroups for Excel
and Powerpoint.

For Word, you only option is to use the approach I outlined in my previous
response.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
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 :)
 

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