Skip to main content

Copy range

Copy a range to another place, in the same or another sheet of the spreadsheet: values, formats, formulas or everything.

Command in the Google Workspace toolkit · id ooa.google/sheets_copy_range · 7 inputs (4 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialYesGoogle OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token.
Spreadsheet IDStringYesThe spreadsheet: its id, its full link (https://docs.google.com/spreadsheets/d/...), or its exact name in Drive (a name made only of letters, digits, - and _ is read as an id; use the link for such names).
SourceStringYesRange to copy. A1 range, optionally with the sheet name, e.g. Sheet1!A1:C10; the first sheet when no sheet is named.
DestinationStringYesTop-left cell (or range) to paste into, optionally with the sheet name.
PasteStringNoallWhat to paste.
TransposeBooleanNofalseTurn rows into columns.
Endpoint addressStringNoReplaces https://*.googleapis.com for testing or a proxy; leave empty normally.