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

Jumping to the Top of a Page

Do you want to easily jump to the top of a page in your document? You can use the Go To command to make the shift, or you ...

Discover More

Understanding Functions

Do some macro programming in VBA and you'll quickly find out that you can use functions to extend the power and ...

Discover More

Adding Drop Shadows

Want your shapes to really "pop" off the page? Add a drop shadow to them, as described in this tip.

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 (ribbon)

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

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
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 seven more than 4?

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.