Share via


TableStyles.Add Method (Excel)

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

Version Information

Version Added: Excel 2007

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

See Also

Concepts

TableStyles Object

TableStyles Object Members