TableOfContents.HeadingStyles Property
Word Developer Reference |
Returns a HeadingStyles object that represents additional styles used to compile a table of contents or table of figures (styles other than the Heading 1 – Heading 9 styles). Read-only.
Syntax
expression.HeadingStyles
expression A variable that represents a TableOfContents collection.
Example
This example adds a style to the HeadingStyles collection and then displays the names of all the style in the collection.
Visual Basic for Applications |
---|
|
This example adds a style named "Blue" to the HeadingStyles collection in a table of contents for Sales.doc.
Visual Basic for Applications |
---|
|
See Also