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