PivotTable.TableStyle2 Property

The TableStyle2 property specifies the PivotTable style currently applied to the PivotTable. Read/write.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property TableStyle2 As Object
    Get
    Set
'Usage
Dim instance As PivotTable
Dim value As Object

value = instance.TableStyle2

instance.TableStyle2 = value
Object TableStyle2 { get; set; }

Property Value

Type: System.Object
Object

Remarks

The property is called TableStyle2 because there is an existing property named TableStyle.

See Also

Reference

PivotTable Interface

PivotTable Members

Microsoft.Office.Interop.Excel Namespace