Edit

Share via


Worksheets.Delete Method

Definition

Deletes the object.

public:
 void Delete();
public void Delete ();
Public Sub 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.

Applies to