I have a script that can delete one or more named ranges. However, the sheet does not recompute either after the script finishes or after a flush command is given. The only way I can force a recalculation is to physically insert a new formula in an empty cell or change an existing one.
I've tried using just SpreadsheetApp.flush() to trigger, but it doesn't cause a recalc if there is no visible change to the sheet.
Is this a deficiency or is there a more sensible approach?