Name
pivotfield
.Formula [= setting
]
Synopsis
For calculated fields, set or returns the localized formula used to generate the field values. Use StandardFormula
to get the nonlocalized formula. Check the IsCalculated
property before using this property. For example:
If pf.IsCalculated Then Debug.Print pf.Formula
Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.