Düzenle

Aracılığıyla paylaş


Options.AutoFormatApplyLists property (Word)

True if styles are automatically applied to lists when Word formats a document or range automatically. Read/write Boolean.

Syntax

expression. AutoFormatApplyLists

expression A variable that represents an Options object.

Example

This example applies styles to any lists in the current selection.

Options.AutoFormatApplyLists = True 
Selection.Range.AutoFormat

This example returns the status of the Lists option on the AutoFormat tab in the AutoCorrect dialog box (Tools menu).

Dim blnAutoFormat as Boolean 
 
blnAutoFormat = Options.AutoFormatApplyLists

See also

Options Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.