delete_rows
Delete rows from a Word table by specifying file, table index, and start/end rows. Maintains vertical merges, creates automatic backups, and rejects open documents to prevent conflicts.
Instructions
Delete rows start..end (inclusive). Vertical merges are re-rooted, not broken. Auto-backup: prev/anchor slots in .ks4w-backups (backup=False skips rotation only); atomic validated save. Refuses documents open in Word.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| start | Yes | ||
| backup | No | ||
| file_path | Yes | ||
| table_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||