Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel Functions
Message
 
À
28/04/2003 12:28:46
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00782309
Message ID:
00782333
Vues:
14
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
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform