Hi all,
I am using this code to switch to Manual Calculation and back when Open workbook.
Private Sub Workbook_Open()
Application.Calculation = xlCalculationManual
End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.Calculation = xlCalculationAutomatic
End Sub
The problem is that it doesn't work on more complex spreadsheets when other books are open with Auto calculation on. It starts recalculating until I press ESC and then it swithes to Manual. Is there the way to fix it?
Yuri
Basic Knowledge VBA
I am using this code to switch to Manual Calculation and back when Open workbook.
Private Sub Workbook_Open()
Application.Calculation = xlCalculationManual
End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.Calculation = xlCalculationAutomatic
End Sub
The problem is that it doesn't work on more complex spreadsheets when other books are open with Auto calculation on. It starts recalculating until I press ESC and then it swithes to Manual. Is there the way to fix it?
Yuri
Basic Knowledge VBA