main deletes separate rows or columns in one pass (rewrite_all_formulas_many); here every edit in the batch is folded through Workbook::rewrite_references, which already covers sparklines and PivotTable sources.
cm
@