Partager via


Paragraphs.Indent Method (Word)

Indents one or more paragraphs by one level.

Syntax

expression .Indent

expression Required. A variable that represents a Paragraphs collection.

Remarks

This method is equivalent to clicking the Increase Indent button on the Formatting toolbar.

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

See Also

Concepts

Paragraphs Object Members

Paragraphs Collection Object