Syntax
FormatMultilevel [.Points = number] [, .Color = number] [, .Before = text] [, .Type = number] [, .After = text] [, .StartAt = number] [, .Include = number] [, .Alignment = number] [, .Indent = number or text] [, .Space = number or text] [, .Hang = number] [, .Level = number] [, .Font = text] [, .Strikethrough = number] [, .Bold = number] [, .Italic = number] [, .Underline = number]
Remarks
Applies multilevel list numbers to the selected paragraphs or changes numbering options for a specified level. The arguments for the FormatMultilevel statement correspond to the options in the Modify Multilevel List dialog box (Multilevel tab, Bullets And Numbering command, Format menu). You cannot display this dialog box using a Dialog or Dialog() instruction.
Argument | Explanation |
.Level | A number from 1 through 9 corresponding to the heading level whose numbering options you want to change. Note that if you specify .Level, the options you set in the FormatMultilevel instruction are not applied. To apply the settings, include a second FormatMultilevel instruction in which .Level is not specified. |
.Points, .Color, .Font, .Strikethrough, .Bold, .Italic, .Underline | Apply character formatting to numbers at the specified level. For individual argument descriptions, see FormatFont. |
.Before, .After, .Alignment, .Indent, .Space, .Hang | Set options for numbers at the specified level. For argument descriptions, see FormatNumber. |
.Type | Specifies a format for numbering headings at the specified level: 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 5 1st, 2nd, ¼ 6 One, Two, ¼ 7 First, Second, ¼ |
.StartAt | The number for the first heading in each sequence of headings of the specified level. If .Type is 3 or 4, .StartAt corresponds to the position in the alphabet of the starting letter. |
.Include | Specifies whether to include numbers and position options from the previous headings for numbers at the specified level: 0 (zero) Includes neither numbers nor position options. 1 Includes a series of numbers from higher-level headings before the numbers at the specified level. 2 Includes both numbers from higher level-headings and position options from the previous level. |
See Also
FormatBullet, FormatBulletsAndNumbering, FormatHeadingNumber, FormatNumber