RightIndent Property

Microsoft Word Visual Basic

expression.RightIndent

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets the right indent for all paragraphs in the active document to 1 inch from the right margin. The InchesToPoints method is used to convert inches to points.

ActiveDocument.Paragraphs.RightIndent = InchesToPoints(1)