CubeField.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 CubeField
instance.Delete()
void Delete()
Remarks
You can delete cube fields only if you have created the cube fields yourself by using the Add method of the CalculatedMembers object with the xlCalculatedSet argument.