FormatBulletsAndNumbering

Syntax

FormatBulletsAndNumbering [.Remove] [, .Hang = number] [, .Preset = number]

Remarks

Adds bullets or numbers to the selected paragraphs based on the preset bullets or numbering scheme you specify, or removes bullets and numbers. The arguments for the FormatBulletsAndNumbering statement correspond to the options in the Bullets And Numbering dialog box (Format menu). In Windows, you cannot display this dialog box using a Dialog or Dialog() instruction. On the Macintosh, you can display this dialog box using a Dialog or Dialog() instruction; however, the Multilevel tab does not appear.

Argument

Explanation

.Remove

Removes bullets or numbering from the selection.

.Hang

If 1, applies a hanging indent to the selected paragraphs.

.Preset

A number corresponding to a bullets or numbering scheme in the Bullets And Numbering dialog box (Format menu)

To determine the appropriate number, display the Bullets And Numbering dialog box and then select the tab with the scheme you want. Counting left to right, values for the preset schemes are:

u 1 through 6 for the schemes on the Bulleted tab

u 7 through 12 for the schemes on the Numbered tab

u 13 through 18 for the schemes on the Multilevel tab


Example

This example adds diamond-shaped bullets to the selected paragraphs and formats the paragraphs with a hanging indent:


FormatBulletsAndNumbering .Hang = 1, .Preset = 3

See Also

FormatBulletDefault, FormatNumberDefault, RemoveBulletsNumbers, SkipNumbering