Outdent Method

Microsoft Word Visual Basic

Outdent Method

       

Removes one level of indent for one or more paragraphs.

Note   Using this method is equivalent to clicking the Decrease Indent button on the Formatting toolbar.

expression.Outdent

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

Example

This example indents all the paragraphs in the active document twice, and then it removes one level of the indent for the first paragraph.

With ActiveDocument.Paragraphs
    .Indent
    .Indent
End With
ActiveDocument.Paragraphs(1).Outdent