Help Centre › Building Processes
Create a copy / clone of a sheet.
Runs on: macOS and Windows only.
Add it to a process
In the process designer, open the Add step tab. Find Copy sheet under Excel › Sheets, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| File path | No | Enter the file path, or use a variable such as {folders::desktop::path}\file.xlsx. Leave blank to use the workbook an earlier step opened. |
| Sheet | Yes | Name of the sheet in the Excel file. Supports wildcards: * matches any characters. |
| New name | Yes | The name for the copied sheet |
| Position | No | Where to place the copied sheet. Before/After use the reference sheet field as the target Choices: Last - place at the end, First - place at the beginning, Before - insert before a reference sheet, After - insert after a reference sheet. Default: last. |
| Reference sheet | No | Name of the sheet to place the copy before or after (used when position is Before or After) |
| If duplicate name | No | What to do if a sheet with the destination name already exists Choices: Throw an error, Overwrite existing sheet, Rename the copy (e.g. ABC → ABC (2)). Default: 0. |
See all Excel steps.
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