Partager via


Paragraph.CloseUp Method (Word)

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:

ActiveDocument.Paragraphs(1).CloseUp 
ActiveDocument.Paragraphs(1).SpaceBefore = 0

Example

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

Selection.Paragraphs(1).CloseUp

See Also

Concepts

Paragraph Object

Paragraph Object Members