Opening an excel file manually allows formulas to run, opening an excel file with VBScript or PowerShell or Python's win32com doesn't

前端 未结 3 1149
长发绾君心
长发绾君心 2021-01-13 18:11

I\'m having a problem with a script not updating an excel file, and I reduced it to the following problem:

If I open an excel file, I can go to the Formulas tab and

3条回答
  •  轮回少年
    2021-01-13 18:30

    Try adding a module with this in it

        Sub Auto_Open()
            ActiveWorkbook.RefreshAll
            Calculate
        End Sub
    

提交回复
热议问题