Skip to main content
duplicateSheet copies one tab within the same spreadsheet.

Example

Inputs

spreadsheet and sheet (title or numeric ID) are required. newTitle and zero-based insertion index are optional. account selects the Google account.

Output

Returns the new sheet’s normalized metadata. The copy includes cell values and formatting; a duplicate newTitle is rejected.