TableStyles.Add(String) Method

Definition

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

public:
 Microsoft::Office::Interop::Excel::TableStyle ^ Add(System::String ^ TableStyleName);
public Microsoft.Office.Interop.Excel.TableStyle Add (string TableStyleName);
Public Function Add (TableStyleName As String) As TableStyle

Parameters

TableStyleName
String

The name of the table style.

Returns

TableStyle

Applies to