Written by Allen Wyatt (last updated December 7, 2019)
This tip applies to Word 97, 2000, 2002, and 2003
Nathan finds it bothersome to continually display the AutoText tab of the AutoCorrect dialog box when he wants to edit a series of AutoText entries. He is wondering if there is perhaps some file or different way that he can make wholesale edits to the entries.
AutoText entries are stored in templates, most often in the Normal template. There is no special file that you can load up and edit directly. Instead, you need to use the tools that Word has provided for the purpose.
If all you need to do is delete a number of AutoText entries, one tool that will make the task easier is the Organizer. Follow these steps:
Figure 1. The Templates and Add-ins dialog box.
Figure 2. The AutoText tab of the Organizer.
Another way to delete lots of AutoText entries is to use a macro. The following macro provides a simple way to step through each AutoText entry and make a decision as to whether you want to delete it or not.
Sub DeleteAutoTextEntries() Dim I As AutoTextEntry Dim vAnswer As Variant For Each I In NormalTemplate.AutoTextEntries vAnswer = MsgBox("Delete AutoText Entry" & vbCr _ & "Name: " & I.Name & vbCr _ & "Value: " & I.Value, vbYesNoCancel, _ "Delete AutoText Entries") Select Case vAnswer Case vbYes I.Delete Case vbCancel Exit Sub End Select Next I End Sub
The macro assumes that the AutoText entries are in the Normal.dot template; if you have them in a different template, you can change the NormalTemplate reference so that a different template is used. The macro displays, in a dialog box, each AutoText entry and you have the chance to delete it or not. You can also click the Cancel button (or press Esc) and the macro is ended right away.
Note:
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (325) applies to Microsoft Word 97, 2000, 2002, and 2003.
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!
Want to get more organized with your AutoText entries? Here's how you can take advantage of the organizational features ...
Discover MoreWhen you first install Word, it includes a number of pre-defined AutoText entries. If you delete any of these entries ...
Discover MoreAutoText can be a great way to add consistent, common text to a document. Unfortunately, you cannot save AutoText entries ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments