Restoring AutoText Entries via Macro

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


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, Word in Microsoft 365, and 2021.

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

Creating a String

Need to use a macro to create a text string? One easy way to do it is to use the String function, described in this tip.

Discover More

Selecting a Paper Source

If your printer allows you to specify different paper trays as sources for paper, you need to know how to select those ...

Discover More

Formatting a Company Name

Want your company name to always appear in a particular formatted manner? Word provides two ways you can approach the ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (ribbon)

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

Saving AutoText Entries with Each Document

AutoText can be a great way to add consistent, common text to a document. Unfortunately, you cannot save AutoText entries ...

Discover More

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
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 4 + 5?

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.