Jun-01-2019, 04:49 AM
Without a sample from you, it is difficult to help.
Maybe you have meant this:
Maybe you have meant this:
#!/usr/bin/python3 from openpyxl import Workbook wb = Workbook() ws = wb.active ws["A3"] = "=SUM(A1, A2)" ws["A1"] = 10 ws["A2"] = 100 wb.save("formula.xlsx")