Remarks

This object and its associated properties and methods aren't available for OLAP data sources because calculated fields and items aren't supported.

Example

Use (), where is the formula number or string on the left side of the formula, to return the PivotFormulaobject. The following example changes the index number for formula one in the first PivotTable report on the first worksheet so that this formula will be solved after formula two.

Visual Basic for Applications
Worksheets(1).PivotTables(1).PivotFormulas(1).Index = 2
Pivot Formula Object PivotFormula PivotFormula Object What is a pivotformula?

See also:

index index