FirstLineIndent Property

Microsoft Word Visual Basic

FirstLineIndent Property

       

Returns or sets the value (in points) for a first line or hanging indent. Use a positive value to set a first-line indent, and use a negative value to set a hanging indent. Read/write Single.

Example

This example sets a first-line indent of 1 inch for the first paragraph in the active document.

ActiveDocument.Paragraphs(1).FirstLineIndent = _
    InchesToPoints(1)

This example sets a hanging indent of 0.5 inch for the second paragraph in the active document. The InchesToPoints method is used to convert inches to points.

ActiveDocument.Paragraphs(2).FirstLineIndent = _
    InchesToPoints(-0.5)