PC Review


Reply
Thread Tools Rate Thread

Alternatives to Application.evaluate(Long Formula)

 
 
=?Utf-8?B?QXdpbGw=?=
Guest
Posts: n/a
 
      3rd Apr 2007
I have a function that can calculate user-defined array formulas. The
variables are defined as named ranges in a sheet and are arrays. A formula is
passed to a function which uses FunctionResult =
Application.Evaluate(formula) to calculate the formula result. The formulae
are now too long for the Application.evaluate.

Is there a way around application.evaluate limitation or can anyone suggest
another way of calculating a string as a formula?

Any help would be greatly appreciated.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?R2FyeScncyBTdHVkZW50?=
Guest
Posts: n/a
 
      3rd Apr 2007
Split the formula up into smaller strings.
--
Gary''s Student - gsnu200713

 
Reply With Quote
 
=?Utf-8?B?QXdpbGw=?=
Guest
Posts: n/a
 
      3rd Apr 2007
Thanks for the reponse. I tried breaking the string or formula into smaller
parts, evaluate the small part and then incorporate it back into the original
formula.

The difficulty is that the variables are arrays so I have a lot of trouble
trying to incorporate the calculated array (from evaluating a portion of the
formula) back into the original formula for calculation.

Any ideas for incorporating the array back into a string formula for
calculation with application.evaluate?

"Gary''s Student" wrote:

> Split the formula up into smaller strings.
> --
> Gary''s Student - gsnu200713
>

 
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
Application.Evaluate (works with SIN but not RGB) Matthew Herbert Microsoft Excel Programming 4 14th Jan 2010 12:36 AM
Condition too long? Alternatives?? Piperlynne Microsoft Access Macros 2 10th Jan 2009 12:29 AM
Application.Evaluate Carim Microsoft Excel Programming 13 7th Jan 2009 08:50 PM
Alternatives for long running processes? =?Utf-8?B?TWF0dCBTb25pYw==?= Microsoft Access VBA Modules 2 26th Sep 2007 04:30 PM
Which is better one long list or the alternatives? =?Utf-8?B?amVmZXdlaXNz?= Microsoft Access Getting Started 2 18th Sep 2005 06:46 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:28 AM.