True if the PivotTable field is a calculated field or item. Read-only Boolean.

Syntax

expression.IsCalculated

expression A variable that represents a PivotField object.

Remarks

For OLAP data sources, this property always returns False.

Example

This example disables the PivotTable Field dialog box if the specified PivotTable report contains any calculated fields.

Visual Basic for Applications
set pt = Worksheets(1).PivotTables("Pivot1") For Each fld in pt.PivotFields If fld.IsCalculated Then pt.EnableFieldDialog = False Next

See also: