write_range
Write a 2D block of values into an Excel spreadsheet starting at a specified cell, enabling batch updates across multiple rows and columns in one operation.
Instructions
Write a 2D block of values (rows of cells) starting at a cell in an .xlsx/.xlsm file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the spreadsheet file (absolute, or relative to the first allowed directory) | |
| sheet | No | Sheet name. Defaults to the first sheet. | |
| values | Yes | 2D array of rows to write | |
| start_cell | Yes | Top-left cell of the block, e.g. 'A2' |