Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Creates a new calculated item. Returns a PivotItem object.
Syntax
expression.Add (Name, Formula, UseStandardFormula)
expression A variable that represents a CalculatedItems object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| Name | Required | String | The name of the item. |
| Formula | Required | String | The formula for the item. |
| UseStandardFormula | Optional | Variant | False (default) for upward compatibility. True for strings contained in any arguments that are item names; will be interpreted as having been formatted in standard U.S. English instead of local settings. |
Return value
A PivotItem object that represents the new calculated item.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.