CloseUp Method
Applies To
Paragraph object, ParagraphFormat object, Paragraphs collection object.
Description
Removes any spacing before the specified paragraphs.
Syntax
expression.CloseUp
expression Required. An expression that returns a Paragraph, Paragraphs, or ParagraphFormat object.
Remarks
The following two statements are equivalent:
ActiveDocument.Paragraphs(1).CloseUp
ActiveDocument.Paragraphs(1).SpaceBefore = 0
See Also
OpenOrCloseUp method, OpenUp method, SpaceAfter property, SpaceBefore property.
Example
This example removes any space before the first paragraph in the selection.
Selection.Paragraphs(1).CloseUp
This example changes the Heading 1 style in the active document so that there's no space before Heading 1 paragraphs.
ActiveDocument.Styles("Heading 1").ParagraphFormat.CloseUp