SelectCurSpacing

Syntax

SelectCurSpacing

Remarks

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

Example

This example demonstrates a quick way to jump to the beginning of the next paragraph whose line spacing is different from that of the current paragraph. If the spacing is the same to the end of the document, Word displays a message box.


SelectCurSpacing
CharRight
If CmpBookmarks("\Sel", "\EndOfDoc") = 0 Then
    MsgBox "No variation in spacing found."
End If

See Also

FormatParagraph, SelectCurAlignment, SelectCurIndent, SelectCurTabs, SpacePara1, SpacePara15, SpacePara2