LeftIndent Property

Microsoft Word Visual Basic

LeftIndent Property

       

Returns or sets a Single that represents the left indent value (in points) for the specified paragraphs, table rows, or HTML division. Read/write.

expression.LeftIndent

Example

This example sets the left indent of the first paragraph in the active document to 1 inch. The InchesToPoints method is used to convert inches to points.

ActiveDocument.Paragraphs(1).LeftIndent = InchesToPoints(1)

This example sets the left indent for all rows in the first table in the active document.

ActiveDocument.Tables(1).Rows.LeftIndent = InchesToPoints(1)