Selection.SelectCurrentSpacing Method

Word Developer Reference

Extends the selection forward until a paragraph with different line spacing is encountered.

Syntax

expression.SelectCurrentSpacing

expression   Required. A variable that represents a Selection object.

Example

This example selects all consecutive paragraphs that have the same line spacing and changes the line spacing to single spacing.

Visual Basic for Applications
  With Selection
    .SelectCurrentSpacing
    .ParagraphFormat.Space1
End With

See Also