Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating an excl object.
Message
 
À
11/01/2002 14:20:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00603666
Message ID:
00603670
Vues:
22
>Can someone send me the syntax for creating an excel object and opening the file. I am using the following and getting an error.
>
>loObject = createobject("excel.application")
>loObject.workbook.Open Filename:="N:\BMS\xlscallfiles\CL_rec_count.xls

William,

VFP does not support named parameteres, try your code like this;

loObject.workbook.Open("N:\BMS\xlscallfiles\CL_rec_count.xls")
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform