Sometime, when changing the value of a cell, a formula is not refreshed automatically in a spreadsheet and a comment appears on the cell to select the cell and press CTRL+SHIFT+E to force the reload of the formula
I want to call this reload function from Apps Script. Is there a way to do it with Apps Script ? I tried Spreadsheet.flush(), but it's not working.
Thanks for help, Best regards
Perhaps this "not possible" answer has changed with new Spreadsheets or at some other time since 2012.
If you store the cell's formula, clear the cell, and then set the cell's formula, it seems to reevaluate just fine for me.
Here's a quick and dirty overview of what I'm doing:
This should work, set some other formula and revert back it again
Unfortunately it's not possible to trigger a re-evaluation of the formulas using Apps Script.