This documentation is archived and is not being maintained.

CalculatedItems Interface 

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

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in

Public Class alculatedItemsImplementation
	Implements CalculatedItems
End Class
Dim alculatedItemsImplementation1 As New alculatedItemsImplementation()

public interface CalculatedItems
public interface CalculatedItems
public interface CalculatedItems

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.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms