Share via


Paragraphs.OutlineDemote Method

Word Developer Reference

Applies the next heading level style (Heading 1 through Heading 8) to the specified paragraphs.

Syntax

expression.OutlineDemote

expression   Required. A variable that represents a Paragraphs collection.

Remarks

If a paragraph is formatted with the Heading 2 style, this method demotes the paragraph by changing the style to Heading 3.

Example

This example demotes the selected paragraphs.

Visual Basic for Applications
  Selection.Paragraphs.OutlineDemote

This example demotes all paragraphs in the active document.

Visual Basic for Applications
  ActiveDocument.Paragraphs.OutlineDemote

See Also