Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I use the following to turn off the calculation and then
back on when exiting my workbook. Private Sub Workbook_Activate() Application.Calculation = xlManual Application.CalculateBeforeSave = False End Sub Private Sub Workbook_Deactivate() Application.Calculation = xlAutomatic Application.CalculateBeforeSave = True End Sub When I open only one workbook at a time it works fine but when I open a second workbook with the same code it starts to calculate also everytime I close my workbook it asks if I want to save the changes. Is there a way to not calculate when a second workbook is opened with the same code and to not ask if I want to save changes unless I have made changes? TIA Joe |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Turning =E13 to =$E$13 | Excel Worksheet Functions | |||
keeps turning off | Excel Worksheet Functions | |||
Turning off and keeping off auto calculation | Excel Discussion (Misc queries) | |||
Turning 0.000 values red | Excel Worksheet Functions | |||
Turning #N/A to a zero...?? | Excel Discussion (Misc queries) |