Partager via


AutoTextEntries Interface

A collection of AutoTextEntry objects that represent the AutoText entries in a template.

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

Syntax

'Declaration
<GuidAttribute("00020937-0000-0000-C000-000000000046")> _
Public Interface AutoTextEntries _
    Inherits IEnumerable
'Usage
Dim instance As AutoTextEntries
[GuidAttribute("00020937-0000-0000-C000-000000000046")]
public interface AutoTextEntries : IEnumerable

Remarks

The AutoTextEntries collection includes all the entries listed on the AutoText tab in the AutoCorrect dialog box (Tools menu).

Use the AutoTextEntries property to return the AutoTextEntries collection.

Use the Add method to add an AutoText entry to the AutoTextEntries collection.

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.

See Also

Reference

AutoTextEntries Members

Microsoft.Office.Interop.Word Namespace