Action: Copy Range
Google Sheets Operation

The Copy Range action duplicates a selected range of cells to another location.
Example User Story
I want to copy a range of cells from one location to another within a Google Sheet so that I can efficiently reorganize my data.
Fields
spreadsheetId
String
Yes
The spreadsheet containing the source and destination ranges.
sourceSheetId
Integer
Yes
Sheet ID of the source range (0 = first sheet).
sourceStartRowIndex
Integer
Yes
First row of the source range (0-based, inclusive).
sourceEndRowIndex
Integer
Yes
Last row of the source range (0-based, exclusive).
sourceStartColumnIndex
Integer
Yes
First column of the source range (0-based, inclusive).
sourceEndColumnIndex
Integer
Yes
Last column of the source range (0-based, exclusive).
destSheetId
Integer
Yes
Sheet ID of the destination range (0 = first sheet).
destStartRowIndex
Integer
Yes
First row of the destination range (0-based, inclusive).
destEndRowIndex
Integer
Yes
Last row of the destination range (0-based, exclusive).
destStartColumnIndex
Integer
Yes
First column of the destination range (0-based, inclusive).
destEndColumnIndex
Integer
Yes
Last column of the destination range (0-based, exclusive).
pasteType
String
No
The type of paste operation to perform. Default: PASTE_NORMAL.
Example: To copy
Sheet1!A1:C1→Sheet1!A11:C11: rows 0→1, cols 0→3 (source) and rows 10→11, cols 0→3 (destination), both sheetId=0.
Related Connections
Related Automations
Example link
Code (Apache v2.0): Operation
Last updated