Paragraphs.LineUnitBefore Property

Word Developer Reference

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

Syntax

expression.LineUnitBefore

expression   Required. A variable that represents a Paragraphs collection.

Example

This example sets the spacing before all paragraphs in the active document to one gridline.

Visual Basic for Applications
  ActiveDocument.Paragraphs.LineUnitBefore = 1

See Also