Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Automation without Excel
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01318841
Message ID:
01319001
Views:
15
>....What I need to do is convert this routine to open the excel file without excel installed and still push the variable values in and have the macro run and return column D. ....

I don't think this is gonna work. oExcel has to be defined/created somewhere, and with out the Excel app on that machine......

My guess is that you would be better off chasing the idea of writing a function in FoxPro that does the calculations described in the Excel help file for the Rate function:
"Returns the interest rate per period of an annuity. RATE is calculated by iteration and can have zero or more solutions. If the successive results of RATE do not converge to within 0.0000001 after 20 iterations, RATE returns the #NUM! error value." etc....

HTH,
Randy Bosma
VFP - Because life is too short to code in something else...
Previous
Reply
Map
View

Click here to load this message in the networking platform