Export (0) Print
Expand All

AutoCorrectEntries interface

A collection of AutoCorrectEntry objects that represent all the AutoCorrect entries available to Microsoft Word. The AutoCorrectEntries collection includes all the entries in the AutoCorrect dialog box (Tools menu).

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

'Declaration
<GuidAttribute("00020948-0000-0000-C000-000000000046")> _
PublicInterfaceAutoCorrectEntries _
	InheritsIEnumerable
'Usage
DiminstanceAsAutoCorrectEntries

Use the Entries property to return the AutoCorrectEntries collection.

Use the Add or the AddRichText method to add an AutoCorrect entry to the list of available entries.

Use Entries(index), where index is the AutoCorrect entry name or index number, to return a single AutoCorrectEntry object. You must exactly match the spelling (but not necessarily the capitalization) of the name, as it's shown under Replace in the AutoCorrect dialog box.

Show:
© 2014 Microsoft