Share via


Paragraph.CloseUp Method

Word Developer Reference

Removes any spacing before the specified paragraph.

Syntax

expression.CloseUp

expression   Required. A variable that represents a Paragraph object.

Remarks

The following two statements are equivalent:

Visual Basic for Applications
  ActiveDocument.Paragraphs(1).CloseUp
ActiveDocument.Paragraphs(1).SpaceBefore = 0

Example

This example removes any space before the first paragraph in the selection.

Visual Basic for Applications
  Selection.Paragraphs(1).CloseUp

See Also