Restoring AutoText Entries via Macro

Written by Allen Wyatt (last updated July 1, 2023)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, 2021, and Word in Microsoft 365


Robert uses AutoText quite a bit, and therefore has many AutoText entries (hundreds of them). Every so often Word crashes and Robert loses his Normal.dotm template. He is pretty good at exporting his macro modules, so it's not too much trouble to restore all of them. However, he can't seem to get back all of his AutoText entries. Robert wonders if there is a macro he could use to automate restoration if he had those entries stored, say, in a two-column table in a different document.

AutoText entries are stored within your Normal template. It is certainly possible to create a macro that will do what Robert is looking for, but it may be overkill to do so. The easiest approach is to simply back up your Normal.dotm template regularly. You could even create a batch file (done at a command-prompt level in Windows) to automatically copy the template on a routine basis. Just make sure that you do something to the name of the copied file so that you can identify the order in which they were copied. (For instance, add the date of the copy to the filename.) That way you've always got your most recent backups of Normal.dotm to rely upon if something untoward occurs.

If you are looking for a different way to backup just your AutoText entries, then you may want to consider a third-party add-in, such as this one offered on Graham Mayor's site:

http://www.gmayor.com/autotext_backup_and_restore.htm

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13897) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, 2021, and Word in Microsoft 365.

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 Message Boxes

If your macro needs to communicate with a user, one simple way to do it is to use a message box. Here's how to use this ...

Discover More

Finding the Last-Used Cell in a Macro

Ever wonder what the macro-oriented equivalent of pressing Ctrl+End is? Here's the code and some caveats on using it.

Discover More

Using MPF Graphic Files

There are all sorts of file formats used to store graphics. You might think that one of those formats is the MPF format, ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2021 or Microsoft 365. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word Step by Step today!

More WordTips (ribbon)

Changing Fonts for AutoText Entries

If you use AutoText entries a lot, you may wonder if you can change the formatting stored with your existing entries. The ...

Discover More

Store Common Addresses in Building Blocks

Do you write letters to lots of different people? One good place to keep those addresses is in Building Blocks. They are ...

Discover More

AutoText Entries for Multiple Users

If you have a set of AutoText entries that you want to make available to multiple users, you can do so with a little ...

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

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}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. 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 1 + 3?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
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.