OpenUp Method

ParagraphFormat.OpenUp Method (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Sets spacing before the specified paragraphs to 12 points.

expression .OpenUp

expression Required. A variable that represents a ParagraphFormat object.

You can also use the SpaceBefore property to set the spacing of paragraphs. The following two statements are equivalent:

Selection.ParagraphFormat.OpenUp 
Selection.ParagraphFormat.SpaceBefore = 12

This example changes the formatting of the second paragraph in the active document to leave 12 points of space before the paragraph.

Selection.ParagraphFormat.OpenUp
Show:
© 2016 Microsoft