Add Method (HeadingStyles Collection)

See Also         Example         Applies To

Adds a new heading style to a document. The new heading style will be included whenever you compile a table of contents or table of figures.

Syntax

expression.Add(Style, Level)

expression   Required. An expression that returns a HeadingStyles object.

Style   Required Variant. The style you want to add. You can specify this argument by using either the string name for the style or a Style object.

Level   Required Integer. A number that represents the level of the heading.