次の方法で共有


Options.AutoFormatAsYouTypeApplyNumberedLists Property (Word)

True if paragraphs are automatically formatted as numbered lists with 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 after the ENTER key is pressed. Read/write Boolean.

Syntax

expression .AutoFormatAsYouTypeApplyNumberedLists

expression A variable that represents an Options collection.

Example

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

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).

Dim blnAutoFormat as Boolean 
 
blnAutoFormat = Options.AutoFormatAsYouTypeApplyNumberedLists

See Also

Concepts

Options Object

Options Object Members