PivotCell.PivotRowLine (Excel)

Returns the PivotLine object on a row for a specific PivotCell object.

If the PivotCell is on rows, the PivotRowLine property returns the row's PivotLine object. If the PivotCell is on columns, the PivotRowLine property returns a run-time error. If the PivotCell is in the data area, the PivotRowLine property returns the corresponding row's PivotLine object.


Dim pvtlnPivotRowLine As PivotLine
Set pvtlnPivotRowLine = ActiveCell.PivotCell.PivotRowLine