ColumnRange Property

Applies To

PivotTable Object.

Description

Accessor. Returns a Range object that represents the range that contains the PivotTable column area. Read-only.

See Also

DataBodyRange Property, DataLabelRange Property, PageRange Property, RowRange Property.

Example

This example selects the column headers for the PivotTable.


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