IndentFirstLineCharWidth Method

Microsoft Word Visual Basic

IndentFirstLineCharWidth Method

       

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

expression.IndentFirstLineCharWidth(Count)

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

Count   Required Integer. The number of characters by which the first line of each specified paragraph is to be indented.

Example

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

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