TableRange1 Property

Microsoft Excel Visual Basic

TableRange1 Property

       

Returns a Range object that represents the range containing the entire PivotTable report, but doesn’t include page fields. Read-only.

Remarks

The TableRange2 property includes page fields.

Example

This example selects all of the PivotTable report except its page fields.

Worksheets("Sheet1").Activate
Range("A3").PivotTable.TableRange1.Select