Jon*_*han 6 microsoft-excel microsoft-excel-2010
仅当我保存在 Office 2010 中时,我处理的某个 xlsx 文件才会刷新(重新计算到单元格)。
怎么会?我怎样才能改变它?
按 F9 时 Excel 将刷新
或者,您可以运行一个在给定时间刷新的宏。
例如
Sub turnoff()
'Turn Off calculation and start call ontime routine
Application.Calculation = xlCalculationManual
Call DoTimer
End Sub
Sub DoTimer()
'Call the sheet calculation macro every one second
Application.OnTime Now + TimeValue("00:00:01"), "Rep"
End Sub
Run Code Online (Sandbox Code Playgroud)
Sub Rep() ' 计算工作表并重复
按时处理Sheet1.Calculate
Call DoTimer
End Sub
来源:这里
编辑:
您还可以检查选项 - 公式 - 计算选项以确保打开自动计算。

| 归档时间: |
|
| 查看次数: |
52866 次 |
| 最近记录: |