Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Functions
Message
 
To
28/04/2003 12:28:46
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00782309
Message ID:
00782333
Views:
15
See the article about how to use Excel functions from VFP in the Article section at www.foxite.com. It may contain approaches that you need.

>All,
>
> I have a program that needs to call a public custom function in an Excel spreadsheet. I can open the excel file, but am not sure how to call the function since it's not a macro. How do I do this?
>
>Here is the code I have
>
>....
>    With oExcel
>        .Workbooks.Open ("C:\calledfromaccess.xls")
>        .Visible = True
>        lnresult = .Run("MyCalcSum", 1, 3)
>        .Quit
>    End With
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform