Compartilhar via


PivotItems.Add Method

Creates a new PivotTable item.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Sub Add ( _
    Name As String _
)
'Usage
Dim instance As PivotItems
Dim Name As String

instance.Add(Name)
void Add(
    string Name
)

Parameters

  • Name
    Type: System.String

    Required String. The name of the new PivotTable item.

See Also

Reference

PivotItems Interface

PivotItems Members

Microsoft.Office.Interop.Excel Namespace