SpaceBefore Property

Microsoft Word Visual Basic

SpaceBefore Property

       

Returns or sets the spacing (in points) before the specified paragraphs. Read/write Single.

expression.SpaceBefore

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

Example

This example sets the spacing before the second paragraph in the active document to 12 points.

ActiveDocument.Paragraphs(2).SpaceBefore = 12