IndentCharWidth Method

Microsoft Word Visual Basic

Indents one or more paragraphs by a specified number of characters.

expression.IndentCharWidth(Count)

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

Count       Required Integer. The number of characters by which the specified paragraphs are to be indented.

Remarks

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

Example

This example indents the first paragraph of the active document by 10 characters.

With ActiveDocument.Paragraphs(1)
    .IndentCharWidth 10
End With