Excel: Copy sheet

Create a copy / clone of a sheet.

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

FieldRequiredWhat it does
File pathNoEnter the file path, or use a variable such as {folders::desktop::path}\file.xlsx. Leave blank to use the workbook an earlier step opened.
SheetYesName of the sheet in the Excel file. Supports wildcards: * matches any characters.
New nameYesThe name for the copied sheet
PositionNoWhere 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 sheetNoName of the sheet to place the copy before or after (used when position is Before or After)
If duplicate nameNoWhat 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

ErrorDescription
File not openThe Excel file must be open
Sheet not foundThe source sheet does not exist
Sheet existsThe destination sheet name already exists and overwrite is off

Tips

  • Use this to duplicate a sheet within the same workbook

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.