Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Microsoft Office Word
Search
Search
 
Check for updates: (c) Microsoft
Office downloads
 
 
 
Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
Field codes: AutoTextList field
 

{ AUTOTEXTLIST "Literal text" \s ["Style name"] \t ["Tip text"] }

Creates a shortcut menu based on AutoText (AutoText: A storage location for text or graphics you want to use again, such as a standard contract clause or a long distribution list. Each selection of text or graphics is recorded as an AutoText entry and is assigned a unique name.) entries in the active template. The list can vary based on the styles (style: A combination of formatting characteristics, such as font, font size, and indentation, that you name and store as a set. When you apply a style, all of the formatting instructions in that style are applied at one time.) applied to the AutoText entries.

ShowSwitches

\s

Specifies that the list will contain entries based on a specific style. Without this switch, AutoText entries of the current paragraph style (paragraph style: A combination of character- and paragraph-formatting characteristics that are named and stored as a set. You can select a paragraph and use the style to apply all of the formatting characteristics to the paragraph at one time.) appear. If there are no entries for the current style, all AutoText entries appear.

\t

Specifies unique text to show in the ScreenTip (ScreenTip: A short description that appears when the user holds the mouse pointer over an object, such as a button or hyperlink.) instead of the default tip.

ShowExample

{ AUTOTEXTLIST "List of salutations" \s Salutation \t "Choose a salutation" } displays the following:
  • In the document: Salutation list
  • In the ScreenTip: Choose a salutation
  • On the shortcut menu: the list of AutoText entries whose style is Salutation.
advertisement