AutoCorrectEntry Interface

Represents a single AutoCorrect entry.

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

public interface AutoCorrectEntry

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.

Community Additions