共用方式為


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

請參閱

概念

TableStyles Object

TableStyles Object Members