Openpyxl 1.8.5: Reading the result of a formula typed in a cell using openpyxl

后端 未结 4 707
刺人心
刺人心 2020-11-30 11:21

I am printing some formula in one of the Excel sheets:

wsOld.cell(row = 1, column = 1).value = \"=B3=B4\"

But I cannot use its result in im

4条回答
  •  一个人的身影
    2020-11-30 11:58

    Openpyxl doesn't support excel 100% for calculating the formula. It supports only very basic formulas. If you want to calculate all formula in workbook you should use xlwings library (which is supported on MacOS and Windows only).

提交回复
热议问题