Options.AutoFormatApplyOtherParas Property

Word Developer Reference

True if styles are automatically applied to paragraphs that aren't headings or list items when Word formats a document or range automatically. Read/write Boolean.

Syntax

expression.AutoFormatApplyOtherParas

expression   A variable that represents an Options object.

Example

This example automatically applies styles to paragraphs in the current selection.

Visual Basic for Applications
  Options.AutoFormatApplyOtherParas = True
Selection.Range.AutoFormat

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

Visual Basic for Applications
  Dim blnAutoFormat as Boolean

blnAutoFormat = Options.AutoFormatApplyOtherParas

See Also