PC Review


Reply
Thread Tools Rate Thread

Calculation toggle

 
 
JP
Guest
Posts: n/a
 
      11th Oct 2007
Hello,

Is there a property or method that returns the current calculation
state (xlcalculationmanual, automatic etc)?

Tried searching but can't seem to locate this anywhere.


Thx!

--JP

 
Reply With Quote
 
 
 
 
Charles Williams
Guest
Posts: n/a
 
      11th Oct 2007
Application.calculation

"JP" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
>
> Is there a property or method that returns the current calculation
> state (xlcalculationmanual, automatic etc)?
>
> Tried searching but can't seem to locate this anywhere.
>
>
> Thx!
>
> --JP
>



 
Reply With Quote
 
JP
Guest
Posts: n/a
 
      16th Oct 2007
Thank you, I ended up using this code:

' get current calculation mode and store as variable, then set it to
manual for faster code
X = Application.Calculation
Application.Calculation = xlCalculationManual
'
' my code here
'
' set calculation to whatever it was before
Application.Calculation = X


Thx,
JP


On Oct 11, 9:27 am, "Charles Williams" <Char...@DecisionModels.com>
wrote:
> Application.calculation
>
> "JP" <jp...@sterlingtesting.com> wrote in message
>
> news:(E-Mail Removed)...
>
>
>
> > Hello,

>
> > Is there a property or method that returns the current calculation
> > state (xlcalculationmanual, automatic etc)?

>
> > Tried searching but can't seem to locate this anywhere.

>
> > Thx!

>
> > --JP- Hide quoted text -

>
> - Show quoted text -



 
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
Disable Calculation of selected worksheets toggle Floss Microsoft Excel Programming 2 23rd Feb 2008 06:41 PM
manual/auto calculation toggle button scott Microsoft Excel Programming 1 4th Dec 2007 04:56 PM
Toggle Calculation Status =?Utf-8?B?UGFpZ2U=?= Microsoft Excel Programming 5 15th Feb 2007 07:27 PM
Toggle calculation FJDx Microsoft Excel Programming 3 19th Jul 2004 01:10 AM
toggle calculation FJDx Microsoft Excel Misc 1 13th Jul 2004 12:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:49 PM.