Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel Automation
Message
De
12/09/2010 15:14:01
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01480884
Message ID:
01480887
Vues:
106
This message has been marked as the solution to the initial question of the thread.
>Hi,
>
>I am trying a simple Excel automation test as following:
>
>
>LOCAL oExcel AS Excel.Application
>oExcel = CREATEOBJECT([Excel.Application])
>loWorkbook = oExcel.workbooks.open('MyFile.xls')
>
>
>I get error OLE Dispatch exception that MyFile.xls could not be found. The is there, I verified. What am I doing wrong?

You must include the whole path to myfile.xls..
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform