CalculatedItems CalculatedItems CalculatedItems Interface


A collection of PivotItem objects that represent all the calculated items in the specified PivotTable report.

public interface class CalculatedItems : System::Collections::IEnumerable
public interface CalculatedItems : System.Collections.IEnumerable
Public Interface CalculatedItems
Implements IEnumerable


For example, a PivotTable report that contains January, February, and March items could have a calculated item named “FirstQuarter” that is defined as the sum of the amounts in January, February, and March.

Use the CalculatedItems() method to return the CalculatedItems collection.

Use CalculatedItems(index), where index is the name or index number of the field, to return a single PivotItem object from the CalculatedItems collection.


_Default[Object] _Default[Object] _Default[Object]

Reserved for internal use.

Application Application Application

Returns an Application object that represents the Microsoft Excel application.

Count Count Count

Returns the number of objects in the collection.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which this object was created.

Parent Parent Parent

Returns the parent object for the specified object.


_Add(String, String) _Add(String, String) _Add(String, String)

Reserved for internal use.

Add(String, String, Object) Add(String, String, Object) Add(String, String, Object)

Creates a new calculated item. Returns a PivotItem object.

GetEnumerator() GetEnumerator() GetEnumerator()
Item(Object) Item(Object) Item(Object)

Returns a single object from a collection.

Applies to