# Delete Sheet

> `UiPath.Excel.Activities.Business.DeleteSheetX`

`UiPath.Excel.Activities.Business.DeleteSheetX`

Deletes a specified sheet from an Excel file. The activity can be used with an Excel file selected for a parent [Use Excel File](https://docs.uipath.com/activities/other/latest/productivity/excel-application-card) activity or with the Project Notebook.

## Configuring the activity

#### In the body of the activity

* **Select sheet** - Select **Plus** on the right side of the field and then, from the menu, select the file and then the sheet to delete. If you select **Indicate in Excel**, you can select any cell or range from the sheet you want to delete directly from the file. Alternatively, you can select **Custom Input** to enter the sheet name manually, or **Open in Advanced Editor** to enter a VB expression.

#### Properties panel

**Common**

* **DisplayName** - The name displayed for the activity in the Designer panel.

**Input**

* **Select sheet** - See **Select sheet** in the body of the activity.

**Misc**

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.
