PC Review


Reply
Thread Tools Rate Thread

calculateing cells on demand

 
 
Lars Schouw
Guest
Posts: n/a
 
      28th Sep 2007
What is the best way to make sure I have control overwhen cells are
calculated?

I have some very long running calculations and would like postpone
them until all the pre-conditions are setup.

I could use a boolean flag in an if statement but how do I do that
better inside of my UDF function?

Lars

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      28th Sep 2007
This is what I do for my own use often even with Arrayformulas using built in
functions:

Public function ABC(rng as Range)
if Range("AB1") = 1 then
ABC = "Pending"
exit sub
End if
End Function

Put a 1 in AB1 when you don't want it to calculate.

--
Regards,
Tom Ogilvy



"Lars Schouw" wrote:

> What is the best way to make sure I have control overwhen cells are
> calculated?
>
> I have some very long running calculations and would like postpone
> them until all the pre-conditions are setup.
>
> I could use a boolean flag in an if statement but how do I do that
> better inside of my UDF function?
>
> Lars
>
>

 
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
Calculateing age John Microsoft Access 1 29th Sep 2007 07:44 PM
calculateing n1kk1 Microsoft Excel Misc 1 7th Jun 2006 12:34 PM
Refresh Excel cells on demand =?Utf-8?B?Um9sYW5k?= Microsoft Excel Programming 3 10th Mar 2006 11:01 PM
C-sharp demand on par with Assembler - Apache releases a Java app server (Re: Skills in most demand) asj Microsoft VB .NET 189 8th Jul 2004 08:48 PM
calculateing MIN,MAX cells for purpose of payroll Thaddeus Microsoft Excel Worksheet Functions 3 28th Sep 2003 05:52 PM


Features
 

Advertising
 

Newsgroups
 


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