manual calculate

A

Adam

Hi,

Is there any way to force a workbook to stay in manual calculate mode upon
opening? I understand that the calculation mode is at the application level
and not the workbook level and the workbook will change to auto calculate if
another workbook is already open in auto calculate mode. Is there any way
around this?

Thanks,

Adam
 
G

Gary''s Student

Put this macro in the workbook code area:

Private Sub Workbook_Open()
Application.Calculation = xlManual
End Sub
 
A

Adam

This is going to sound like a stupid question, but what do you mean by the
"workbook code area?" I tried inserting the visual basic code you suggested
where all of my other macros are and it didn't work.

Thanks,

Adam
 
A

Adam

Nevermind. I figured it out. Thanks!

Adam said:
This is going to sound like a stupid question, but what do you mean by the
"workbook code area?" I tried inserting the visual basic code you suggested
where all of my other macros are and it didn't work.

Thanks,

Adam
 
G

Gord Dibben

For a particular workbook I would use Event code.

Private Sub Workbook_Open()
With Application
.Calculation = xlAutomatic
End With
End Sub

Right-click on the Excel Icon left of "File" and select "View Code".

Copy/paste the above into that Thisworkbook module.

Alt + q to return to the Excel window.

Save the workbook.


Gord Dibben MS 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