Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

printing autocorrect entries

2 views
Skip to first unread message

feagin

unread,
Sep 26, 2003, 12:52:18 PM9/26/03
to
Is there a way to print a list of autocorrect entries in
Word 2002? I see the way to print autotext, but not
autocorrect? thanks

Greg

unread,
Sep 26, 2003, 2:14:48 PM9/26/03
to
feagin,

Try this macro posted earlier by Peter Hewett:

Public Sub DumpAllAutoCorrect()
Dim aceTemp As Word.AutoCorrectEntry
Dim rngTemp As Word.Range

If Documents.Count = 0 Then
Documents.Add
End If

' Clear out the existing document
Set rngTemp = ActiveDocument.Content
rngTemp.Delete

' Add header info
rngTemp.Text = "Autocorrect entries as at: " & _
Format$(Now, "dd mmm yyyy") & vbCr
rngTemp.Collapse wdCollapseEnd

' List all autocorrect entries
For Each aceTemp In AutoCorrect.Entries
rngTemp.InsertAfter aceTemp.Name
rngTemp.Font.Color = wdColorRed
rngTemp.InsertAfter vbCr
rngTemp.ParagraphFormat.SpaceBefore = 12
rngTemp.Collapse wdCollapseEnd
rngTemp.InsertAfter aceTemp.Value & vbCr
rngTemp.Collapse wdCollapseEnd
Next
End Sub

>.
>

0 new messages