This documentation is archived and is not being maintained.
PivotFormula interface
Represents a formula used to calculate results in a PivotTable report.
Namespace:
Microsoft.Office.Interop.ExcelAssembly:
Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
No code example is currently available or this language may not be supported.
Use PivotFormulas(index), where index is the formula number or string on the left side of the formula, to return the PivotFormula object.
This object and its associated properties and methods aren’t available for OLAP data sources because calculated fields and items aren’t supported.