Compartilhar via


Worksheet.Delete Method

Excel Developer Reference

Deletes the object.

Syntax

expression.Delete

expression   A variable that represents a Worksheet object.

Return Value
Boolean

Remarks

When you delete a Worksheet, this method displays a dialog box that prompts the user to confirm the deletion. This dialog box is displayed by default. When called on the Worksheet object, 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.

See Also