GOOGLE WORKSPACE Copy sheet to spreadsheet function

The GOOGLE WORKSPACE Copy sheet to spreadsheet function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Workspace connector function to copy a sheet tab to another spreadsheet.

For a full list of available functions, please read GOOGLE WORKSPACE functions.


Description

The Copy sheet to spreadsheet function copies a sheet tab from one spreadsheet to another. The copy includes all values, formatting, and data validation rules.


Input parameters

ParameterRequiredTypeDefaultDescription
ConnectorYesSelect-Select the Google Workspace connector to use
Source spreadsheet IDYesText-Spreadsheet ID to copy from
Sheet IDYesText-The numeric sheet ID to copy
Destination spreadsheet IDYesText-Spreadsheet ID to copy to
VariableYesText-Variable to store the result

Output variables

VariableTypeDescription
VariableObjectObject containing the new sheetId and title in the destination spreadsheet

Errors

  • Source spreadsheet not found – the source spreadsheet ID is invalid
  • Destination spreadsheet not found – the destination spreadsheet ID is invalid
  • Sheet not found – no sheet exists with the given ID

Tips

  • You must have write access to the destination spreadsheet
  • The copied sheet will appear as a new tab in the destination

Related functions

  • Duplicate sheet – Duplicate within the same spreadsheet

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.