OutlineDemoteToBody Method

Microsoft Word Visual Basic

OutlineDemoteToBody Method

       

Demotes the specified paragraph or paragraphs to body text by applying the Normal style.

expression.OutlineDemoteToBody

expression   Required. An expression that returns a Paragraph or Paragraphs object.

Example

This example demotes the selected paragraphs to body text by applying the Normal style.

Selection.Paragraphs.OutlineDemoteToBody

This example switches the active window to outline view and demotes the first paragraph in the selection to body text.

ActiveDocument.ActiveWindow.View.Type = wdOutlineView
Selection.Paragraphs(1).OutlineDemoteToBody