Share via


PivotTable.CalculatedFields Method 

Returns a CalculatedFields collection that represents all the calculated fields in the specified PivotTable report. Read-only.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

Usage

Dim returnValue As CalculatedFields
Dim pivotTable1 As PivotTable
returnValue = pivotTable1.CalculatedFields()

Syntax

Function CalculatedFields() As CalculatedFields
CalculatedFields CalculatedFields();
public: CalculatedFields^ CalculatedFields();
public CalculatedFields CalculatedFields();
function CalculatedFields() : CalculatedFields;

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

PivotTable Interface
Microsoft.Office.Interop.Excel Namespace

Other Resources

PivotTable Members