Share via


EmailOptions.AutoFormatAsYouTypeApplyNumberedLists Property

Word Developer Reference

True if paragraphs are automatically formatted as numbered lists. Read/write Boolean.

Syntax

expression.AutoFormatAsYouTypeApplyNumberedLists

expression   A variable that represents an EmailOptions collection.

Remarks

If set to True, numbered lists use a numbering scheme from the Bullets and Numbering dialog box (Format menu), according to what's typed. For example, if a paragraph starts with "1.1" and a tab character, Word automatically inserts "1.2" and a tab character when the ENTER key is pressed.

Example

This example causes lists to be automatically numbered as you type.

Visual Basic for Applications
  Options.AutoFormatAsYouTypeApplyNumberedLists = True

This example returns the status of the Automatic numbered lists option on the AutoFormat As You Type tab in the AutoCorrect dialog box (Tools menu).

Visual Basic for Applications
  Dim blnAutoFormat as Boolean

blnAutoFormat = Options.AutoFormatAsYouTypeApplyNumberedLists

See Also