write_data
Write a 2D array of data or a single-cell formula to Excel, starting from a specified cell.
Instructions
Write data or a formula to Excel cells. Provide 'data' for a 2D array, or 'formula' for a single-cell formula.
Args: start_cell: Top-left cell (e.g. 'A1'). data: 2D list of values. Mutually exclusive with formula. formula: Excel formula like '=SUM(A1:A10)'. Mutually exclusive with data. workbook: Workbook name or path. Defaults to active workbook. sheet: Sheet name. Defaults to active sheet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_cell | Yes | ||
| data | No | ||
| formula | No | ||
| workbook | No | ||
| sheet | No |