Skip to main content
A newer version of this page is available. .
Row

TableStyleCollection Members

A collection of table and pivot table styles contained in the workbook.

Properties

Name Description
Count Gets the number of table styles in the collection.
DefaultPivotStyle Gets or sets the default pivot table style.
DefaultStyle Gets or sets the default table style.
Item[BuiltInPivotStyleId] Provides access to built-in pivot table styles by their identifiers.
Item[BuiltInTableStyleId] Provides access to built-in table styles by their identifiers.
Item[String] Provides access to individual table and pivot table styles in the collection by their names.

Methods

Name Description
Add(String) Creates a new table or pivot table style with the specified name and appends it to the collection of styles.
Contains(String) Indicates whether the collection contains the table or pivot table style under the specified name.
Remove(String) Removes the table or pivot table style with the specified name from the collection.
See Also