Paragraph.OutlinePromote method (Word)
Applies the previous heading level style (Heading 1 through Heading 8) to the specified paragraph or paragraphs.
expression Required. A variable that represents a 'Paragraph' object.
If a paragraph is formatted with the Heading 2 style, this method promotes the paragraph by changing the style to Heading 1.
This example promotes the first paragraph in the selection.
This example switches the active window to outline view and promotes the first paragraph in the active document.
ActiveDocument.ActiveWindow.View.Type = wdOutlineView ActiveDocument.Paragraphs(1).OutlinePromote
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.