Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

[GuidAttribute("00020937-0000-0000-C000-000000000046")]
public interface AutoTextEntries : IEnumerable

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.

Show:
© 2015 Microsoft