Paragraphs.OutlineDemote method (Word)

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.

Selection.Paragraphs.OutlineDemote

This example demotes all paragraphs in the active document.

ActiveDocument.Paragraphs.OutlineDemote

See also

Paragraphs Collection 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.