SkipNumbering, SkipNumbering()

Syntax

SkipNumbering

SkipNumbering()

Remarks

The SkipNumbering statement skips bullets or numbers for the selected paragraphs in a bulleted or numbered list created with the Bullets And Numbering command (Format menu). Subsequent bulleted or numbered paragraphs continue the current list, rather than starting a new list (and restarting the numbering in the case of a numbered list).

The SkipNumbering() function returns the following values.

Value

Explanation

0 (zero)

If the selected paragraphs are not skipped. The selected paragraphs may or may not be part of a bulleted or numbered list.

–1

If some of the selected paragraphs are skipped and some are not, or the selection includes more than one level in a multilevel list.

1

If all the selected paragraphs are skipped.


Example

This example selects the current paragraph and uses SkipNumbering() to determine whether the paragraph is skipped. If it is, numbering is reapplied to the paragraph.


EditGoTo "\Para"
If SkipNumbering() = 1 Then
    FormatBulletsAndNumbering
End If

See Also

DemoteList, FormatBulletsAndNumbering, PromoteList, RemoveBulletsNumbers