ToolsBulletsNumbers

Syntax

ToolsBulletsNumbers [.Replace = number] [, .Font = text] [, .CharNum = text] [, .Type = number] [, .FormatOutline = text] [, .AutoUpdate = number] [, .FormatNumber = number] [, .Punctuation = text] [, .StartAt = text] [, .Points = number or text] [, .Hang = number] [, .Indent = number or text] [, .Remove]

Remarks

Sets formats for bulleted, numbered, and outline-numbered paragraphs. This statement is included for compatibility with the previous version of Word for Windows; the arguments for ToolsBulletsNumbers correspond to the options in the Bullets And Numbering dialog box (Tools menu) in Word for Windows version 2.x. Not every argument applies to each type of list.

Argument

Explanation

.Replace

If 1, Word updates bullets only for paragraphs that are already bulleted, or updates numbers only for paragraphs that are already numbered.

.Font

The font for the numbers or the bullet character in a list.

.CharNum

The character or ANSI code for the character to use as the bullet. Bullets are inserted as SYMBOL fields.

.Type

The type of list to create:

0 (zero) Bulleted list

1 Numbered list

2 Outline-numbered list

.FormatOutline

A format for numbering outlines. The available formats are Legal, Outline, Sequence, Learn, and Outline All. The Learn format applies a format based on the first number for each level in the selection.

.AutoUpdate

If 1, numbers are inserted as fields that update automatically when the sequence of paragraphs changes.

.FormatNumber

Specifies a format for numbering lists:

0 (zero) 1, 2, 3, 4

1 I, II, III, IV

2 i, ii, iii, iv

3 A, B, C, D

4 a, b, c, d

.Punctuation

The separator character or characters for numbers in a list. If you specify one character, it follows each number; if you specify two characters, they enclose each number.

.StartAt

The starting number or letter for the list.


Argument

Explanation

.Points

The size of the bullet character, in points, in a bulleted list.

.Hang

If 1, sets a hanging indent for the list.

.Indent

If .Hang is set to 1, the width of the left indent in points or a text measurement.

.Remove

Removes existing bullets or numbers.


Example

This example formats the selection as a bulleted list, with the bullet defined as character code 183 in the Symbol font, at 10 points in size:


ToolsBulletsNumbers .Font = "Symbol", .CharNum = "183", .Type = 0, \
    .Points = 10, .Hang = 1, .Indent = "0.25 in", .Replace = 0

See Also

FormatBulletDefault, FormatBulletsAndNumbering, FormatNumberDefault, ToolsBulletListDefault, ToolsNumberListDefault