AutoTextEntry AutoTextEntry AutoTextEntry Interface

Definition

Represents a single AutoText entry.

public interface class AutoTextEntry
[System.Runtime.InteropServices.Guid("00020936-0000-0000-C000-000000000046")]
public interface AutoTextEntry
Public Interface AutoTextEntry
Attributes

Remarks

The AutoTextEntry object is a member of the AutoTextEntries collection. The AutoTextEntries collection contains all the AutoText entries in the specified template. The entries are listed on the AutoText tab in the AutoCorrect dialog box (Tools menu).

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

Use the Add(String, Range) method to add an AutoTextEntry object to the AutoTextEntries collection.

Properties

Application Application Application

Returns an Application object that represents the Microsoft Word Application.

Creator Creator Creator

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

Index Index Index

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

Name Name Name

Returns or sets the name of the specified object.

Parent Parent Parent

Returns the parent object of the specified object.

StyleName StyleName StyleName

Returns the name of the style applied to the specified AutoText entry.

Value Value Value

Returns or sets the value of the AutoText entry.

Methods

Delete() Delete() Delete()

Deletes the specified object.

Insert(Range, Object) Insert(Range, Object) Insert(Range, Object)

Inserts the AutoText entry in place of the specified range.

Applies to