PivotCell.PivotColumnLine property (Excel)

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

Syntax

expression.PivotColumnLine

expression A variable that represents a PivotCell object.

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's PivotLine object.

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.