Copy a Worksheet in the Excel
Creates a copy of an existing worksheet in the same Excel file.
Last updated
Was this helpful?
Creates a copy of an existing worksheet in the same Excel file.
This procedure creates a copy of an existing worksheet within the same Excel file (workbook). The copy includes all cell values, styles, hyperlinks, and comments from the original worksheet.
Below is a line-by-line overview of the automation syntax. Expand each line to learn more.
the original worksheet name is "original-worksheet-name"Specifies the name of the worksheet to copy.
Indented under copy a worksheet in the excel where.
✅ Yes — This phrase is required.
✅ Yes — Replace original-worksheet-name with the name of the worksheet to copy.
the original worksheet name is "Data"the new worksheet name is "new-worksheet-name"Specifies the name for the copied worksheet.
Indented under copy a worksheet in the excel where.
✅ Yes — This phrase is required.
✅ Yes — Replace new-worksheet-name with the desired name for the copied worksheet.
the new worksheet name is "Data_Backup"This example copies an existing worksheet with a new name.
Last updated
Was this helpful?
Was this helpful?
copy a worksheet in the excel where
the original worksheet name is "Data"
the new worksheet name is "Data_Backup"
