AutoCorrectEntry Interface

Definition

Represents a single AutoCorrect entry.

public interface class AutoCorrectEntry
[System.Runtime.InteropServices.Guid("00020947-0000-0000-C000-000000000046")]
public interface AutoCorrectEntry
type AutoCorrectEntry = interface
Public Interface AutoCorrectEntry
Attributes

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(Range) method to insert an AutoCorrect entry at the specified range.

Use either the Add(String, String) or AddRichText(String, Range) method to add an AutoCorrect entry to the list of available entries.

Properties

Application

Returns a Application object that represents the Microsoft Word application.

Creator

Returns a value that indicates the application in which the specified object was created.

Index

Returns a value that represents the position of an item in a collection.

Name

Returns or sets the name of the specified object.

Parent

Returns the parent object of the specified object.

RichText

Returns a value that indicates if formatting is stored with the AutoCorrect entry replacement text.

Value

Returns or sets the value of the AutoCorrect entry.

Methods

Apply(Range)

Replaces a range with the value of the specified AutoCorrect entry.

Delete()

Deletes the specified object.

Applies to