Skip to main content
Row

TableStyleCollection Members

A collection of table and PivotTable styles in a workbook.

Properties

Name Description
Count Gets the number of table styles in the collection.
DefaultPivotStyle Gets or sets the default pivot table style.
DefaultStyle Specifies the default table style.
Item[BuiltInPivotStyleId] Returns the built-in PivotTable style by its identifier.
Item[BuiltInTableStyleId] Returns the built-in table style by its identifier.
Item[String] Returns the table style or PivotTable style by its name.

Methods

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