This documentation is archived and is not being maintained.

TableStyleElement Object (Excel)

Represents a single table style element.

Version Added: Excel 2007

Table styles define formatting for one or all of the elements of a table, PivotTable, or slicer. For example, a header row is an element of a table. A table style can define that the fill color of the header row is red.

Each table style element in a table can have formatting specified in a table style applied to the element.