ListObject.Delete Method

Deletes the ListObject object and clears the cell data from the worksheet.

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

Syntax

'Declaration
Sub Delete
'Usage
Dim instance As ListObject

instance.Delete()
void Delete()

Remarks

If the list is linked to a SharePoint site, deleting it does not affect data on the server that is running Windows SharePoint Services. Any uncommitted changes made to the local list are not sent to the SharePoint list. (There is no warning that these uncommitted changes are lost.)

See Also

Reference

ListObject Interface

ListObject Members

Microsoft.Office.Interop.Excel Namespace