Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel IRR function
Message
From
23/12/1999 08:55:02
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00307846
Message ID:
00307848
Views:
15
>Any one know of a fox function that can perform as the Excel IRR ( internal rate of return ) function within Fox, or is it possible through OLE to use the function within fox on table data ?

It's certainly possible to use Excel's automation model by pushing values through to an Excel sheet; it seems like overkill to do when you have IRR() available as a VB function. Just make an ActiveX control in VB6 with one method taking a SafeArray of values and returning the value from IRR() as a float. The VB6 docs include a sample of how to use IRR() within VB, and thjere's no need for Excel to make the thing work.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform