Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Activate/disactivate calculation in VBA

RealName: Hervé RICHARD

Hello NGs,

My table has so many formulas, that the VBA code I wrote gets disregarded
upon opening.
If I write Application.CalculateFullRebuild or press F9, the whole table
gets calculated only once...
How can I switch on or off the calculation ?

Thank you in advance for any constructive proposal.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Activate/disactivate calculation in VBA

In VBA

Application.Calculation = xlCalculationAutomatic

and

Application.Calculation = xlCalculationManual

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Froggy" wrote in message
...
RealName: Hervé RICHARD

Hello NGs,

My table has so many formulas, that the VBA code I wrote gets disregarded
upon opening.
If I write Application.CalculateFullRebuild or press F9, the whole table
gets calculated only once...
How can I switch on or off the calculation ?

Thank you in advance for any constructive proposal.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Activate/disactivate calculation in VBA

It works!!!
Thank you.

"Bob Phillips" wrote:

In VBA

Application.Calculation = xlCalculationAutomatic

and

Application.Calculation = xlCalculationManual

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Froggy" wrote in message
...
RealName: Hervé RICHARD

Hello NGs,

My table has so many formulas, that the VBA code I wrote gets disregarded
upon opening.
If I write Application.CalculateFullRebuild or press F9, the whole table
gets calculated only once...
How can I switch on or off the calculation ?

Thank you in advance for any constructive proposal.




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
Windows().Activate vs Workbooks().Activate Gary''s Student Excel Programming 4 November 6th 06 02:01 PM
Workbook.Activate / Window.Activate problem Tim[_44_] Excel Programming 3 February 3rd 06 11:38 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 10:11 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 09:36 PM
range.calculation with UDF not working when calculation is set to automatic Brian Murphy Excel Programming 5 October 14th 03 07:02 PM


All times are GMT +1. The time now is 12:14 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"