PivotTable.RepeatAllLabels (Excel)

Specifies whether to repeat item labels for all PivotFields in the specified PivotTable.

Using the RepeatAllLabels method corresponds to the Repeat All Item Labels and Do Not Repeat Item Labels commands on the Report Layout drop-down list of the PivotTable Tools Design tab. To specify whether to repeat item labels for a single PivotField, use the RepeatLabels property.

RepeatAllLabels (Repeat)

Repeat: Specifies whether to repeat all field item labels in a PivotTable report.


ActiveCell.PivotTable.RepeatAllLabels Repeat:=xlDoNotRepeatLabels