AutoCorrectEntry Interface

Represents a single AutoCorrect entry.

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

Syntax

'Declaration
<GuidAttribute("00020947-0000-0000-C000-000000000046")> _
Public Interface AutoCorrectEntry
'Usage
Dim instance As AutoCorrectEntry
[GuidAttribute("00020947-0000-0000-C000-000000000046")]
public interface AutoCorrectEntry

Remarks

The AutoCorrectEntry object is a member of the AutoCorrectEntries collection. The AutoCorrectEntries collection includes the entries in the AutoCorrect dialog box (Tools menu).

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.

Use the Apply method to insert an AutoCorrect entry at the specified range.

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

See Also

Reference

AutoCorrectEntry Members

Microsoft.Office.Interop.Word Namespace