append_rows
Append rows to the end of Excel worksheet data or extend a named Excel table, copying formats from the row above, with a dry run by default to preview changes.
Instructions
Append rows after the last data row (or to the bottom of an Excel table). DRY RUN BY DEFAULT.
rows: list of rows, each a list of values using the same coercion rules as set_cells ('=...' formula, leading quote = literal text, ISO dates, null = empty cell). table: name of an Excel table on the sheet to extend (its range grows with the new rows). If the last data row belongs to a table and table= is omitted, the call is refused so rows are not left outside the table. Tables with a totals row are refused. Number formats and styles are copied from the row above. Rows start in the first used column. Refused if the space below is not empty. Warns when data validation or conditional formatting ranges end at the old last row and will not cover the new rows. output/overwrite/allow_loss work as in set_cells.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| rows | Yes | ||
| sheet | Yes | ||
| table | No | ||
| output | No | ||
| dry_run | No | ||
| overwrite | No | ||
| allow_loss | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |