📅  最后修改于: 2022-03-11 14:51:55.047000             🧑  作者: Mango
'VBA routine to force the workbook to recalculate:
Sub ForceCalc(Optional Full As Boolean)
With Application
.Calculation = xlCalculationManual
.Calculation = xlCalculationAutomatic
If Full Then .CalculateFull
End With
End Sub