Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Turn AutoCalc off on opening file

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?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 324
Default Turn AutoCalc off on opening file

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.
--
Best wishes,

Jim


"Mitch Powell" wrote:

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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Turn off Autocalc before opening sheet Kevin Excel Discussion (Misc queries) 0 October 31st 09 08:56 PM
How do I turn off virus scan on opening an Excel file? Bowler Excel Discussion (Misc queries) 2 February 4th 06 02:40 AM
autocalc to complicated to turn off lasse Setting up and Configuration of Excel 2 January 10th 06 12:31 AM
How do I turn on the Last Modified option when opening a file? WomensHealthUSA Excel Discussion (Misc queries) 0 June 8th 05 02:31 PM
turn off autocalc barrfly[_3_] Excel Programming 1 June 7th 05 02:30 PM


All times are GMT +1. The time now is 09:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"