Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: A Real AutoSave.

A Real AutoSave

by Allen Wyatt
(last updated May 7, 2011)

4

Word has a built-in AutoSave feature that offers a limited amount of protection for the documents on which you are working. If you have AutoSave turned on, Word periodically (you can define how often) saves a copy of the document on which you are working. These periodic saves are stored in special backup files that Word maintains; it does not store them in the same document as the one on which you are working.

For instance, let's say you are working on a document named Report.doc, and that you have AutoSave enabled and set for every ten minutes. When the ten-minute mark is reached, Word stores the document in a temporary file, not back in Report.doc. The only time that this happens is when you explicitly save the file. Then Report.doc is saved and the temporary file is deleted. When you first start Word, it checks to see if any of these temporary files are on your system. If they are, then it "recovers" those files and gives you the chance to save them, if you desire.

There may be times when you want a real AutoSave instead of one that uses temporary files. For instance, you might want Report.doc saved every ten minutes—automatically. To do this, you need to create your own macros that take care of it for you. The following series of three simple macros will accomplish the task:

Sub AutoOpen()
    WordSaver
End Sub
Sub WordSaver()
    Application.OnTime When:=Now + _
      TimeValue("00:10:00"), _
      Name:="Saver"
End Sub
Sub Saver()
    ActiveDocument.Save
    WordSaver
End Sub

If you save these macros with a document, then they will always provide an AutoSave for that document. The AutoOpen macro is run when the document is first opened, and it runs WordSaver. WordSaver does nothing but run the Saver macro after ten minutes has elapsed. When Saver runs, it saves the active document, and then runs WordSaver again, which starts the ten-minute cycle all over.

There are a couple of drawbacks to these macros. First of all, there is no way to undo what is saved. With the regular Word AutoSave, you can always close a document without saving any modifications. The second drawback is that these macros will save whichever document is currently active—including one you might not have intended to save. Finally, if you save these macros as part of a template, then when you open a document using that template, ten minutes later a Save As dialog box will appear since your new document is not yet named.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (157) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: A Real AutoSave.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Using Very Large Font Sizes

You can format your text to use some very, very large font sizes. The results you see from formatting with large fonts depend ...

Discover More

An Exact Number of Lines Per Page

For some purposes, you may need to fit an exact number of lines on a printed page. This may be easier said than done, as it ...

Discover More

Closing a Read-Only Workbook

When you create a workbook that is read-only, users can still make changes to the workbook. When they exit, they are prompted ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

MORE WORDTIPS (MENU)

Opening Documents in Print Layout View

If you have a Word 2003 document that always seems to open in reading layout mode, you may want to turn that "feature" off. ...

Discover More

Read-Only Documents

Using both Word and Windows, there are a variety of ways you can mark a file as read-only so that it cannot be changed. This ...

Discover More

Opening Only a Merge Document

After merging the information from a data source into a document, you may decide that you only want to open the merge ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments for this tip:

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is one more than 2?

2015-09-07 06:47:37

Keir Thomas

If anybody's interested I adapted this excellent tip slightly for Word 2016 on a Mac:

http://www.mackungfu.org/automatically-save-as-in-word-when-starting-a-new-document


2015-08-18 04:53:46

AMAR SINGH

i have some problem on word document . when i sent a mail on word file after sending mail thorugh mail id word file can not save the materials . it shows temp enabled . problem starts during the attachement process word file . this problems with every word file after attachement to mail box for sending mail


2015-03-21 17:36:52

Christian Grey

I know this site is only for word, but does the macro auto-save work with all office applications?


2014-07-07 18:39:03

heather

Hello
I have tried to get these macros to work so many times but have failed. I think your logic is amazing, but for some reason it's not working for me. I've saved my doc as a macro enabled doc, made sure all macros are enabled. But it's just not working for me. I'm not experienced in macros but I copied your macros and they all appear to look identical to yours. I wondered if you could perhaps point me in a direction to find out what I'm doing wrong. I'll be so excited if I get this to work because I think it's such a clever idea.

Many, many thanks

Heather


Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.

Links and Sharing
Share