Share via


PivotCell.PivotColumnLine Property

Returns the PivotLine on a column for a specific PivotCell object. Read-only.

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

Syntax

'Declaration
ReadOnly Property PivotColumnLine As PivotLine
    Get
'Usage
Dim instance As PivotCell
Dim value As PivotLine

value = instance.PivotColumnLine
PivotLine PivotColumnLine { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.PivotLine
PivotLine

Remarks

If the PivotCell is on rows, the PivotColumnLine property returns a run-time error.

If the PivotCell is on columns, the PivotColumnLine property returns the column PivotLine object.

If the PivotCell is in the data area, the PivotColumnLine property returns the corresponding column PivotLine object.

See Also

Reference

PivotCell Interface

PivotCell Members

Microsoft.Office.Interop.Excel Namespace