ParagraphFormat.SpaceBefore Property

Word Developer Reference

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

Syntax

expression.SpaceBefore

expression   Required. A variable that represents a ParagraphFormat object.

Example

This example sets the spacing before all paragraphs in the active document to 12 points.

Visual Basic for Applications
  ActiveDocument.Range.ParagraphFormat.SpaceBefore = 12

See Also