PivotItem.DataRange Property
Excel Developer Reference |
Returns a Range object as shown in the following table. Read-only.
Syntax
expression.DataRange
expression A variable that represents a PivotItem object.
Remarks
Object | Data range |
---|---|
Data field | Data contained in the field |
Row, column, or page field | Items in the field |
Item | Data qualified by the item |
Example
This example selects the PivotTable items in the field named "REGION."
Visual Basic for Applications |
---|
|
See Also