Add Worksheet
add_worksheetAdd a new worksheet to an open Excel workbook, with optional custom name and tab position. Specify the target workbook or use the active one.
Instructions
Add a new worksheet to an open workbook.
Args: workbook: Workbook name or path (None = active workbook). name: Name for the new sheet (None = Excel's default, e.g. "Sheet4"). index: 1-based tab position to insert before (None = before the active sheet).
Returns: JSON with the new sheet's name and position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| index | No | ||
| workbook | No |