Welcome toWord.Tips.Net
Ask a Word Question
Make a Comment
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
Collapsing and Expanding Subdocuments
Word provides a way to print just about everything related to your document, except (oddly enough) your AutoCorrect entries. If you want to print them, you are forced to use a macro to accomplish the task. The following macro will create a document, list all the AutoCorrect entries, and format it:
Sub PrintAutoCorrect()
Dim ACE As AutoCorrectEntry
Documents.Add
For Each ACE In Application.AutoCorrect.Entries
Selection.TypeText ACE.Name & vbTab & ACE.Value & vbCrLf
Next
With ActiveDocument.PageSetup
.Orientation = wdOrientLandscape
With .TextColumns
.SetCount NumColumns:=3
.EvenlySpaced = True
.LineBetween = True
End With
End With
ActiveDocument.Paragraphs.TabStops.ClearAll
ActiveDocument.Paragraphs.TabStops.Add Position:=InchesToPoints(1.25)
Selection.HomeKey Unit:=wdStory
End Sub
When completed, you can print the document so you have a permanent record of your AutoCorrect entries.
Tip #837 applies to Microsoft Word versions: 97 2000 2002 2003 2007
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.