Excel: Merge workbooks

Merge all sheets from the current workbook into a destination workbook.

Help Centre › Building Processes

Merge all sheets from the current workbook into a destination workbook.

Runs on: macOS and Windows only.

Add it to a process

In the process designer, open the Add step tab. Find Merge workbooks under Excel › Workbook, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
Destination workbookYesThe workbook the sheets are copied into. It must already exist. Use a path, or a variable such as {folders::desktop::path}\file.xlsx.
ModeNoWhere the copied sheets go in the destination workbook. A sheet whose name is taken gets " (2)" added. Choices: Add after the existing sheets, Add before the existing sheets, Add, then sort all sheets A-Z, Add, then sort all sheets Z-A. Default: append.

See all Excel steps.

Tips

  • The destination workbook must already exist – create it first if needed
  • Use Append mode when consolidating data from multiple source files in a loop
  • Use Replace mode when refreshing a master workbook with updated data
  • Sheet names must be unique in Excel – in Append mode, duplicate names may be auto-renamed

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.