OpenOrCloseUp Method Example

This example toggles the formatting of the first paragraph in the active document to either add 12 points of space before the paragraph or leave no space before it.

ActiveDocument.Paragraphs(1).OpenOrCloseUp