TableStyle.Duplicate Method (Excel)
Duplicates the TableStyle object and returns a reference to the new copy.
Version Information
Version Added: Excel 2007
Syntax
expression .Duplicate(NewTableStyleName)
expression A variable that represents a TableStyle object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
NewTableStyleName |
Optional |
Variant |
The name of the new table style. |
Return Value
TableStyle
Remarks
If no name is specified, the Duplicate method uses the same default name as the user interface.