AutoFormatApplyOtherParas Property

Microsoft Word Visual Basic

AutoFormatApplyOtherParas Property

       

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.

Example

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

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

Dim blnAutoFormat as Boolean

blnAutoFormat = Options.AutoFormatApplyOtherParas