Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel Automation
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Excel Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01480884
Message ID:
01480884
Vues:
127
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?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform