Share via


PivotItem.Delete Method

Deletes the object.

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

Syntax

'Declaration
Sub Delete
'Usage
Dim instance As PivotItem

instance.Delete()
void Delete()

Remarks

You can delete cube fields only if you have created the cube fields yourself by using the Add method with the xlCalculatedSet argument.

See Also

Reference

PivotItem Interface

PivotItem Members

Microsoft.Office.Interop.Excel Namespace