Syntax
CloseUpPara
Remarks
Removes the paragraph formatting that creates space before the selected paragraphs. CloseUpPara corresponds to setting to 0 (zero) the Before option on the Indents And Spacing tab in the Paragraph dialog box (Format menu).
Example
This macro toggles Before formatting between one line and no lines before the selected paragraphs:
Sub MAIN Dim dlg As FormatParagraph GetCurValues dlg If Val(dlg.Before) <> 0 Then CloseUpPara Else OpenUpPara End If End Sub
See Also
FormatParagraph, OpenUpPara