Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of mappen te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen om mappen te wijzigen.
Creates a new PivotTable item.
Syntax
expression.Add (Name)
expression A variable that represents a PivotItems object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| Name | Required | String | The name of the new PivotTable item. |
Example
This example creates a new PivotTable item in the first PivotTable report on worksheet one.
Worksheets(1).PivotTables(1).PivotItems("Year").Add "1998"
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.