Use this action to delete a sheet by name from an existing workbook.
Step 1. Create a process and give it a name.
Step 2. Drag the Delete Sheet action to the canvas and link it to the other actions.
Step 3. Create the variables needed for the configuration of the action, and then add them to the configuration panel:
- Excel workbook: you need to input the file with the workbook where you want to delete the sheet
- Sheet name: you need to input a string with the sheet name which you want to delete
Step 4. Save, Validate and Run the process.
Step 5. You will be prompted to add the file for the input variable. Click Run.
Step 6. To verify the process click Check instance.
Step 7. Open the file; it will no longer contain the deleted sheet.