Worksheets.Delete Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.