Word.Tips.Net Welcome toWord.Tips.Net

Helpful Links

Tips.Net Home
WordTips Home

Ask a Word Question
Make a Comment

Tips.Net Store

WordTips FAQ
WordTips Premium

Learn Access Now
Free Printable Forms

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

Newest Tips

Setting Fraction Bar Overhang Spacing in the Equation Editor

Printing On Both Sides of the Paper

Turning Off AutoComplete for Dates

Ordering Search and Replace

Understanding Auto Line Spacing

Adding Comments to Your Document

Conditional Calculations in Word

 

Printing a List of AutoCorrect Entries

Summary: The AutoCorrect feature in Word is used quite extensively by some people. If you use it a lot, you may want to print out a list of AutoCorrect entries for reference purposes. This tip explains how you can use a macro to print the desired information. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)

The AutoCorrect feature in Word can be very helpful. There may be a time when you want to print a list of AutoCorrect entries, just so you are aware of what they are. There is no intrinsic command in Word to all the AutoCorrect entries like you can print AutoText entries. You can, however, use a macro to print your AutoCorrect entries:

Sub PrintAutoCorrect()
    Dim a As AutoCorrectEntry

    Selection.ParagraphFormat.TabStops.ClearAll
    Selection.ParagraphFormat.TabStops.Add Position:=72, _
      Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces

    For Each a In Application.AutoCorrect.Entries
        Selection.TypeText a.Name & vbTab & a.Value & " " & vbCr
    Next
End Sub

Before running this macro, make sure that you start with a new document. The macro sets the tab stop in the current paragraph, and then "types" each AutoCorrect entry in the system. When it is through running (it is very fast), you can print the list and then discard the document.

Tip #340 applies to Microsoft Word versions: 97 | 2000 | 2002 | 2003 | 2007

Save Time! WordTips has been published weekly since early 1997. Past issues are available in convenient WordTips archives. Have your own enhanced archive of WordTips at your fingertips, available to use at any time!
 
Check out WordTips Archives today!