Turn AutoCalc off on opening file

M

Mitch Powell

I need to turn AutoCalc off when a user opens the workbook. I've tried the
following to methods:

Sub Auto_Open()
Application.Calculation = xlCalculationManual
End Sub

Private Sub Workbook_Open()
Application.Calculation = xlCalculationManual
End Sub

In both cases, if AutoCalc is already on, the workbook calculates before
these routines are run. Any suggestions?
 
J

Jim Jackson

All I can think of is to change sub Auto_Open() to Sub Auto_Close()

This way the autocalc will be disabled before the workbook closes. And will
be disabled when next it is opened.
 

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