Compartilhar via


PivotTable.CalculatedMembers Property

Returns a CalculatedMembers collection representing all the calculated members and calculated measures for an OLAP PivotTable.

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

Syntax

'Declaration
ReadOnly Property CalculatedMembers As CalculatedMembers
    Get
'Usage
Dim instance As PivotTable
Dim value As CalculatedMembers

value = instance.CalculatedMembers
CalculatedMembers CalculatedMembers { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.CalculatedMembers

Remarks

This property is used for Online Analytical Processing (OLAP) sources; a non-OLAP source will return a run-time error.

See Also

Reference

PivotTable Interface

PivotTable Members

Microsoft.Office.Interop.Excel Namespace