Paragraphs.LineUnitBefore property (Word)

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.

ActiveDocument.Paragraphs.LineUnitBefore = 1

See also

Paragraphs Collection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.