Share via


PivotTable.CompactLayoutColumnHeader Property

Specifies the caption that is displayed in the column header of a PivotTable when in compact row layout form. Read/write.

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

Syntax

'Declaration
Property CompactLayoutColumnHeader As String
    Get
    Set
'Usage
Dim instance As PivotTable
Dim value As String

value = instance.CompactLayoutColumnHeader

instance.CompactLayoutColumnHeader = value
string CompactLayoutColumnHeader { get; set; }

Property Value

Type: System.String
String

Remarks

When the user customizes these captions in the grid, it is also reflected in these properties.

See Also

Reference

PivotTable Interface

PivotTable Members

Microsoft.Office.Interop.Excel Namespace