--- title: "Remove Worksheet by Index" slug: "remove-worksheet-by-index" updated: 2025-02-21T17:15:22Z published: 2025-02-21T17:15:22Z canonical: "documentation.decisions.com/remove-worksheet-by-index" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Remove Worksheet by Index | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 7.12.0 | | **Location** | Data > Excel & CSV | Remove WorkSheet by Index Step removes an entire worksheet from an XLS or XLSX Excel file. To delete a Sheet from a file, its index must be identified. Please note that CSV files cannot be utilized for this step. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | File Type | Defines the type of file used as an input to the step. Currently, the options are Csv, Excel_xls, Excel_xlsx, and AutoSelect. | CSV File Type | | Input | The Excel file to remove the worksheet from. | FileData | | Worksheet Index | Index of the worksheet to remove from the excel file. | Int32 | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | RemoveWorksheetByName1_Output | Excel file without the worksheet that was removed. | FileData | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2022-11-28_11h33_13.png) Related Information Training Video: [Dynamic Excel Creation](https://www.youtube.com/watch?v=hcIiRwi_8wo)