TableStyles.Add method (Excel)

Creates a new TableStyle object and adds it to the collection.

Syntax

expression.Add (TableStyleName)

expression A variable that represents a TableStyles object.

Parameters

Name Required/Optional Data type Description
TableStyleName Required String The name of the table style.

Return value

TableStyle

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.