TableStyle.Duplicate(Object) Method

Definition

Duplicates the TableStyle object and returns a reference to the new copy.

public Microsoft.Office.Interop.Excel.TableStyle Duplicate (object NewTableStyleName);
Public Function Duplicate (Optional NewTableStyleName As Object) As TableStyle

Parameters

NewTableStyleName
Object

The name of the new table style.

Returns

TableStyle

Remarks

If no name is specified, the Duplicate(Object) method uses the same default name as the user interface.

Applies to