Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

How to automatically save Microsoft Word 2003 Documents

Oct 2, 2007 11:58PM PDT

Hi,

We have a user who (occasionally) forgets to save Microsoft Word documents before closing (Professional Edition, Version 2003, SP2). I looked around in the "Help" section of the application - but I can't seem to find a way to automatically save a document every "x" number of minutes. The closest thing I could find was the "Save AutoRecovery Info very: ____ minutes" under Tools -> Options -> Save tab. I have no idea how to retrieve this document that's supposed to be saved every "x" minutes for "AutoRecovery", which I believe will be available when something bad happens to the Word application (such as crashing).

Any help is much appreciated.

Thanks!

ST

Discussion is locked

- Collapse -
Re: Word automatic saving.
Oct 3, 2007 1:14AM PDT

With me, Word 2000 asks if I want to save a changed document or not, when I close it. If I say no, it's gone, but if I say yes it's saved. Doesn't that suffice?

If Word 2003 doesn't it, you can easily write your own Autoclose macro to simulate this behaviour and put in in her normal.dot.

Kees

- Collapse -
Re: Word automatic saving (thanks Kees)
Oct 3, 2007 1:22AM PDT

Kees,

Thanks for the input.

Yes, Word 2003 does ask if you want to save or not before closing. But the problem is there have been times when the user selects "no" - and all work was lost. So, if there's an auto save every 5 minutes - only 5 minutes of work is lost.

I am going to try out the "Autoclose macro" you suggested. Although I have no idea how to do it...but I'll search around.

Thanks.

- Collapse -
Re: Autoclose macro.
Oct 3, 2007 6:23AM PDT

That's a macro that's automatically executed when the document is closed. A basic one is shown in http://support.microsoft.com/kb/201992. That saves always and I don't think that's good.

A minor modification is to only save the document if it has been changed since the last save, like in http://support.microsoft.com/kb/212550. That keeps the original date and time if it isn't changed at all, or the date and time the user last saved it. Still, the user has no choice to exit without saving, and I wonder if that's acceptable.

If might be better to save the document under another name if it isn't yet saved by the user, just to prevent accidental overwrites, which you don't want either.
For example, you could add date and time to the document name and then do a programmatic SaveAs, give a warning (msgbox method, like "The changed document has been saved as Report about proposal 83_20071003_1225PM.doc, because you didn't save it yourself." and immediately exit. This more or less forces the user to save it himself before he closes the document, because he won't like to do the necessary renaming in My Computer himself. That's the risk of answering No if you mean Yes, of course.

I think this macro will work if put in normal.dot and the document is based on that template. But before you invest time in it, check if a simple one line macro like <strong>msgbox "It works!"</strong> indeed works if put there. If it has to be added in each document separately, clearly it isn't worth the trouble.
I can't tell because I never worked with AutoClose macro's.

Kees

- Collapse -
Re: Autoclose macro (thanks again, Kees!)
Oct 3, 2007 6:53AM PDT

Kees,

Thank you for kb links about macros and for pointing out things that may be undesirable if documents were saved each time they are accessed and for the work around suggestions.

You are much appreciated!

ST