Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Evaluate Excel Function in VFP
Message
From
18/03/1999 13:28:26
 
 
To
18/03/1999 13:26:20
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00199352
Message ID:
00199362
Views:
12
>>I am sure there must be a direct way to do this:
>>
>>I want to use some Excel functions from VFP, so I am looking for the excel equivalent of FPOLE's FoxEval() function. Something like
>>
>>oXL = CREATEOBJECT('Excel.Application')
>>?oXL.EvaluateExpr("AVG(5:10:20)")
>
>
>just a thought...
>
>createobject excel application
>set visible property .f.
>
>move req. values in cells
>move req. formula in another cell
>move to other cell and retrieve the value from formula cell...

Yeah, I know I can do this. But I don't want to because it's cheesy. And for functions that have to be called in tight loop, this will probably be much slower than calling the function directly.

Thanks for the thought.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform