Calculations

J

Josh O.

Is there a way to set Excell to automatically update calculations is most
workbooks, but be set as manual in others?
 
G

Gord Dibben

Josh

Since Excel takes the calculation mode from the first workbook opened during a
session, the only sure way to set calculation mode for a particular workbook
would be through code that runs when a workbook is opened or activated.

Private Sub Workbook_Activate()
Application.Calculation = xlCalculateManual
Application.Calculation = xlCalculationAutomatic
End Sub

Private Sub Workbook_Open()
Application.Calculation = xlCalculateManual
Application.Calculation = xlCalculationAutomatic
End Sub


Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top