Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel IRR function
Message
De
23/12/1999 08:55:02
 
 
À
23/12/1999 08:43:26
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00307846
Message ID:
00307848
Vues:
14
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform