Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Calculation Options

I have a rather large workbook (85 meg) that I've built for a client.
It is necessary that automatic calculation be turned OFF when usin
this tool otherwise a normal machine will lock up. Is there a macro o
a way to default manual calculation when this workbook is opened?

You advice is appreciated

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Calculation Options

Place the following line of code in the "Sub Workbook_Open
()" procedure.

Application.Calculation = xlManual

Michael

-----Original Message-----
I have a rather large workbook (85 meg) that I've built

for a client.
It is necessary that automatic calculation be turned OFF

when using
this tool otherwise a normal machine will lock up. Is

there a macro or
a way to default manual calculation when this workbook

is opened?

You advice is appreciated.


---
Message posted from http://www.ExcelForum.com/

.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 968
Default Calculation Options

Excel sets its application-level initial calculation mode from the first
workbook opened, and stores the current calculation mode in a workbook when
it is saved.

So assuming you have saved the workbook in manual mode everything will be ok
if it is the first workbook opened.

If it is the second workbook opened and Excel is in automatic mode it will
be recalculated on open. Any macro contained in the workbook open event will
not be executed until after it has opened and calculated: so a complete
solution is difficult to achieve.
One partial solution is to use a workbook.open macro to set calculation to
manual.

Charles
______________________
Decision Models
FastExcel Version 2 now available.
www.DecisionModels.com/FxlV2WhatsNew.htm

"dmckean" wrote in message
...
I have a rather large workbook (85 meg) that I've built for a client.
It is necessary that automatic calculation be turned OFF when using
this tool otherwise a normal machine will lock up. Is there a macro or
a way to default manual calculation when this workbook is opened?

You advice is appreciated.


---
Message posted from http://www.ExcelForum.com/



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
tools options view window options Joe[_14_] Excel Discussion (Misc queries) 1 November 11th 09 04:08 PM
Calculation options change arbitrarily Alex Mackenzie Excel Worksheet Functions 1 July 7th 09 02:38 PM
Calculation Options St@cy Excel Discussion (Misc queries) 2 May 22nd 07 10:43 PM
Excel Automatic Calculation Options will not Save SMA1974 Setting up and Configuration of Excel 1 December 29th 06 08:42 PM
default manual calculation instead of auto in options excel 2003 Lost in Excel Excel Discussion (Misc queries) 1 October 9th 05 06:55 PM


All times are GMT +1. The time now is 02:41 PM.

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

About Us

"It's about Microsoft Excel"