Detecting autosave in DocumentBeforeSave event

K

Kristian

I use the DocumentBeforeSave event handler in order to prompt user for new
version info when the save file menu / button is activated. But this event
handler is also fired when the document autosave (for backup purpose) - this
is annoying. Can I detect in the event handler whenever the event is caused
by autosave or a user request ? (Disabling autosave is not an option). I am
using VBA in Word 2000.

Please help.
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?S3Jpc3RpYW4=?=,
I use the DocumentBeforeSave event handler in order to prompt user for new
version info when the save file menu / button is activated. But this event
handler is also fired when the document autosave (for backup purpose) - this
is annoying. Can I detect in the event handler whenever the event is caused
by autosave or a user request ? (Disabling autosave is not an option). I am
using VBA in Word 2000.
I think the only possibility would be a pair of macros saved in the VBA
project, named FileSave and FileSaveAs. These are only triggered by user
action.

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