Copy sheet
copy_sheetDuplicate a worksheet within an Excel workbook, preserving values, styles, and dimensions; specify the source sheet and a new name.
Instructions
Duplicate a worksheet (values, styles and dimensions) within the workbook.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to an .xlsx, .xlsm, .xltx or .xltm file. Relative paths are resolved in the server's workbook directory when one is configured; otherwise use an absolute path. | |
| sheet | Yes | Worksheet name, e.g. 'Sheet1'. | |
| new_name | Yes | New sheet name: 1-31 characters, none of [ ] : * ? / \. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |