Is there any way to run in Pyhton the equivalent of this Excel VBA code:
For i= 1 to 10
'do some stuff
'Refresh calculations in order to check the outcome
Next i
In other words: is it possible to refresh sheet formula results from within python, then rinse and repeat ? I tried saving as excel file and re-opening after each iteration, but it is too time consuming to begin with.