Microsoft Excel · Arazzo Workflow
Microsoft Excel Delete a Table Row by Index
Version 1.0.0
Read a table's rows, delete one by its zero-based index, and confirm the removal.
View Spec
View on GitHub
AutomationData AnalysisMicrosoftMicrosoft 365OfficeSpreadsheetsArazzoWorkflows
Provider
Workflows
prune-table-row
Safely remove a single row from an Excel table by index.
Snapshots the table rows so the caller can confirm the target index, deletes that row, and re-reads the rows to verify the deletion.
1
openSession
createWorkbookSession
Open a persisting session so the deletion is committed to the stored workbook.
2
resolveTable
listTables
Resolve the table on the worksheet that the row will be deleted from.
3
snapshotRows
listTableRows
Read every row before deleting so the caller holds a copy of the row about to be destroyed and can confirm the index points at the intended record.
4
deleteRow
deleteTableRow
Delete the row at the supplied index. This is destructive, and every row after it shifts up by one, so any cached indexes are invalid afterwards.
5
verifyDeletion
listTableRows
Re-read the rows to confirm the record is gone and to hand the caller the re-indexed row set for any further deletions.