CalculatedItems Collection
A collection of PivotItem objects that represent all the calculated items in the specified PivotTable report.
Remarks
A PivotTable report that contains January, February, and March items could have a calculated item named "FirstQuarter" defined as the sum of the amounts in January, February, and March.
Use the CalculatedItems method to return the CalculatedItems collection.
Use CalculatedFields(), where is the name or index number of the field, to return a single PivotFieldobject from the CalculatedFieldscollection.
Example
The following example creates a list of the calculated items in the first PivotTable report on worksheet one, along with their formulas.
| Visual Basic for Applications |
|---|
|
See also:
| index | index |