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

Automatic Blank Pages at the End of a Section

If you want to have a blank page at the end of a document section, you can insert one manually or you can use the ...

Discover More

Odd Page Numbers Disappearing

Page numbers in printed pages are often a necessary part of formatting a document. What do you do if your printed output ...

Discover More

Selecting Random Names

Got a ton of names from which you need to select a few random names? There are several ways you can extract what you ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (ribbon)

Printing AutoText Entries

If you want to print a list of the AutoText entries on your system, you can do so quickly by making one change on the ...

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

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 minus 2?

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.