SpaceBefore Property

Microsoft Word Visual Basic

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