FormatBulletDefault, FormatBulletDefault()

Syntax

FormatBulletDefault [Add]

FormatBulletDefault()

Remarks

The FormatBulletDefault statement adds bullets to or removes bullets from the selected paragraphs.

Argument

Explanation

Add

Specifies whether to add or remove bullets:

0 (zero) Removes bullets. If the paragraph preceding or following the selection is not formatted as a list paragraph, the list format in the selection is removed along with the bullets.

1 Adds bullets. If the paragraph preceding the selection already has bullets applied with the Bullets And Numbering command (Format menu), the selected paragraphs are formatted with matching bullets; otherwise, the default settings of the Bullets And Numbering dialog box (Format menu) are used.

Omitted Toggles bullets.


The FormatBulletDefault() function returns the following values.

Value

Explanation

0 (zero)

If none of the selected paragraphs are bulleted or numbered

–1

If the selected paragraphs are not all bulleted, all "skipped," or all formatted with the same level of numbering

1

If all the selected paragraphs are bulleted


See Also

FormatBulletsAndNumbering, FormatNumberDefault, SkipNumbering