ListFormat.ListIndent Method

Word Developer Reference

Increases the list level of the paragraphs in the range for the specified ListFormat object, in increments of one level.

Syntax

expression.ListIndent

expression   Required. A variable that represents a ListFormat object.

Example

This example indents each paragraph in the first list in document one by one level.

Visual Basic for Applications
  Documents(1).Lists(1).Range.ListFormat.ListIndent

This example formats paragraphs four through eight in the active document as an outline-numbered list, and then it indents the paragraphs one level.

Visual Basic for Applications
  Dim docActive As Document
Dim rngTemp As Range

Set docActive = ActiveDocument

Visual Basic for Applications
  Set rngTemp = _
    docActive.Range( _
    Start:=docActive.Paragraphs(4).Range.Start, _
    End:=docActive.Paragraphs(8).Range.End)

With rngTemp.ListFormat .ApplyOutlineNumberDefault .ListIndent End With

See Also