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.
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!
Want to categorize your AutoText entries? You can easily do so using the techniques described in this tip.
Discover MoreAutoText is a great feature in Word; it helps you put together documents quickly. If you need to delete multiple AutoText ...
Discover MoreCreating AutoText entries can be a great way to improve your productivity with Word. At some point you may want to share ...
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