PC Review


Reply
Thread Tools Rate Thread

Activate/disactivate calculation in VBA

 
 
=?Utf-8?B?RnJvZ2d5?=
Guest
Posts: n/a
 
      20th Mar 2007
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 With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      20th Mar 2007
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" <(E-Mail Removed)> wrote in message
news:9C4E36BC-6099-47B4-B9C3-(E-Mail Removed)...
> 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 With Quote
 
=?Utf-8?B?RnJvZ2d5?=
Guest
Posts: n/a
 
      20th Mar 2007
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" <(E-Mail Removed)> wrote in message
> news:9C4E36BC-6099-47B4-B9C3-(E-Mail Removed)...
> > 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reliably activate PowerPoint, do something, Activate Excel Barb Reinhardt Microsoft Excel Programming 1 4th Dec 2008 09:42 PM
How to disactivate the auto replay in outlook 2000? Peres Microsoft Outlook Discussion 1 9th May 2008 08:51 PM
What's this? "Press spacebar to activate or enter to activate.... =?Utf-8?B?Rm9yU3VyZQ==?= Microsoft Outlook Discussion 3 13th Apr 2006 09:12 PM
Workbook.Activate / Window.Activate problem Tim Microsoft Excel Programming 3 3rd Feb 2006 11:38 PM
Re: How do I disactivate the "A program is trying to access e-mail ad. Sue Mosher [MVP-Outlook] Microsoft Outlook Contacts 0 2nd Sep 2004 02:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:03 PM.