ListIndent Method

Applies To

ListFormat object.

Description

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. An expression that returns a ListFormat object.

See Also

ListOutdent method.

Example

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

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.

Set myDoc = ActiveDocument
Set myRange = myDoc.Range(Start:= myDoc.Paragraphs(4).Range.Start, _
    End:=myDoc.Paragraphs(8).Range.End)
With myrange.ListFormat
    .ApplyOutlineNumberDefault
    .ListIndent
End With