Share via


NoSpaceBetweenParagraphsOfSameStyle Property

True for Microsoft Word to remove spacing between paragraphs that are formatted using the same style. Read/write Boolean.

expression.NoSpaceBetweenParagraphsOfSameStyle

expression Required. An expression that returns one of the objects in the Applies to list.

Example

This example removes spacing between paragraphs formatted with the "List 1" style. This example assumes that you have a sequence of paragraphs in the active document formatted with a style named "List 1."

Sub NoSpace()
    ActiveDocument.Styles("List 1") _
        .NoSpaceBetweenParagraphsOfSameStyle = True
End Sub

Applies to | Style Object