Bewerken

Delen via


PivotTable.DataLabelRange property (Excel)

Returns a Range object that represents the range that contains the labels for the data fields in the PivotTable report. Read-only.

Syntax

expression.DataLabelRange

expression A variable that represents a PivotTable object.

Example

This example selects the data field labels in the PivotTable report.

Worksheets("Sheet1").Activate 
Range("A3").Select 
ActiveCell.PivotTable.DataLabelRange.Select

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.