EXCEL Remove sheets function

The EXCEL Remove sheets function in RPA.

Help CentreBuilding Processes

This article describes the RPA Excel functionality to remove sheets.

For a full list of available functions, please read EXCEL functions.


Description

The EXCEL Remove sheets function allows you to remove sheets.


Setting it up

To use the EXCEL Remove sheets function, follow these instructions:

{{popups:rpas/add:action=excel-remove-sheet}}

Once on a process map:

  1. Navigate to the process where you would like to add the EXCEL Remove sheets function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the EXCEL Remove sheets option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
File pathYesTextFull path to the Excel file.
SheetYesTextName of the sheet to remove.

Output variables

This action does not produce any output variables.


Errors

ErrorDescription
Sheet not foundThe specified sheet does not exist.
Cannot remove last sheetA workbook must contain at least one sheet.

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.