TableStyleElements object (Excel)

Represents table style elements.


Table styles define formatting for one or all of the elements of a table, PivotTable, or slicer. For example, a header row, last column, or total row are elements of a table. A table style can define that the fill color of the header row is blue and that the last column is red.

A table style element in a table can have formatting specified in a table style applied to the element. The XlTableStyleElementType enumeration contains the types of table style elements that are available for use.



See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.