Worksheets.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 Worksheets
instance.Delete()
void Delete()
Remarks
When you delete a Workbook or Worksheet, this method displays a dialog box that prompts the user to confirm the deletion. This dialog box is displayed by default. The Delete method returns a Boolean value that is False if the user clicked Cancel on the dialog box or True if the user clicked Delete.