r7_sheet_add
Add a new worksheet to an existing XLSX workbook, optionally writing initial 2D data at A1, without altering other sheets.
Instructions
Add a new worksheet to an existing XLSX workbook, optionally with initial data. Other sheets are left untouched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Optional 2D matrix to write starting at A1. | |
| name | No | New worksheet name (defaults to ЛистN; made unique automatically). | |
| index | No | Position in the tab order; appended when omitted. | |
| filePath | Yes | Path to an existing XLSX file. | |
| outputPath | No | Optional target path. |