AutoTextEntry Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a single AutoText entry.
public interface class AutoTextEntry
[System.Runtime.InteropServices.Guid("00020936-0000-0000-C000-000000000046")]
public interface AutoTextEntry
type AutoTextEntry = interface
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 |
Returns an 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. |
StyleName |
Returns the name of the style applied to the specified AutoText entry. |
Value |
Returns or sets the value of the AutoText entry. |
Methods
Delete() |
Deletes the specified object. |
Insert(Range, Object) |
Inserts the AutoText entry in place of the specified range. |