
Tips.Net > WordTips Home > Editing > AutoText > Editing AutoText Entries Directly
Summary: Editing AutoText entries, and particularly deleting them, can be cumbersome if you have a lot of changes to make. There are a couple of easier ways you can get rid of lots of unwanted AutoText entries, as described in this tip. (This tip works with Microsoft Word 97, Word 2000, Word 2002, and Word 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.dot 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:
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.
Tip #325 applies to Microsoft Word versions: 97 2000 2002 2003
Step Up and Take Control! Subscribers to WordTips know just how valuable a resource it is. WordTips Premium provides twice the number of exceptional, easy-to-understand tips every week in an ad-free newsletter, as well as substantial discounts on WordTips archives and e-books.
Check out WordTips Premium today!
Learn to search for and replace text, formatting, graphics, and special characters the easy way with WordTips: Find and Replace. (more information...)
Ask a Word Question
Make a Comment
Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips