Reputation: 3308
I have this simple python script:
from openpyxl import Workbook
book = Workbook()
sheet = book.active
sheet["A1"]=3
sheet["A2"]=4
sheet["A3"]="=SUM(A1:A2)"
book.save("k_test.xlsx")
When I open the excel sheet A3 is empty (not calculated). If have to click on the cell and press enter - then the value appears. How can I force excel to calculate the values?
Upvotes: 1
Views: 228
Reputation: 3308
In case anyone runs into the same problem. There were two issues:
Upvotes: 1