PivotField.LabelRange Property
For a PivotField object, returns a Range object that represents the cell (or cells) that contain the field label. For a PivotItem object, returns a Range object that represents all the cells in the PivotTable report that contain the item. Read-only.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property LabelRange As Range
Get
'Usage
Dim instance As PivotField
Dim value As Range
value = instance.LabelRange
Range LabelRange { get; }
Property Value
Type: Microsoft.Office.Interop.Excel.Range