Partager via


AutoTextEntry Interface

Represents a single AutoText entry.

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

Syntax

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

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 method to add an AutoTextEntry object to the AutoTextEntries collection.

See Also

Reference

AutoTextEntry Members

Microsoft.Office.Interop.Word Namespace