AutoText

Syntax

AutoText

Remarks

Displays the AutoText dialog box if there is a selection (and proposes up to the first 32 characters of the selection for the unique entry name) or, if there is no selection, attempts to match the text before or surrounding the insertion point with an AutoText entry and insert the entry (including its formatting, if any). Word looks for the entry first in the active template, then in the Normal template, and finally in each loaded global template in the order listed in the Templates And Add-ins dialog box (File menu). If no match can be made, an error occurs. AutoText corresponds to the AutoText button on the Standard toolbar.

See Also

AutoTextName$(), CountAutoTextEntries(), EditAutoText, GetAutoText$(), InsertAutoText, SetAutoText