Help Centre › Building Processes
This article describes the RPA Excel functionality to copy a sheet.
For a full list of available functions, please read EXCEL functions.
Description
The EXCEL Copy a sheet function allows you to copy a sheet.
Setting it up
To use the EXCEL Copy a sheet function, follow these instructions:
{{popups:rpas/add:action=excel-copy-sheet}}
Once on a process map:
- Navigate to the process where you would like to add the EXCEL Copy a sheet function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the EXCEL Copy a sheet option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Sheet | Yes | Text | - | The source sheet name |
| New name | Yes | Text | - | The name for the copied sheet |
| Overwrite if exists | No | Switch | Off | Overwrite the destination sheet if it already exists |
Output variables
This action does not produce output variables.
Errors
| Error | Description |
|---|---|
| File not open | The Excel file must be open |
| Sheet not found | The source sheet does not exist |
| Sheet exists | The destination sheet name already exists and overwrite is off |
Tips
- Use this to duplicate a sheet within the same workbook