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 microsoft.office.interop.excel.dll)
Usage
Public Class alculatedItemsImplementation
Implements CalculatedItems
End Class
Dim alculatedItemsImplementation1 As New alculatedItemsImplementation()
Syntax
Public Interface CalculatedItems
public interface CalculatedItems
public interface class CalculatedItems
public interface CalculatedItems
public interface CalculatedItems
Remarks
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.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Microsoft.Office.Interop.Excel Namespace