Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fox& Excel OLE Command to save the final product.??????
Message
De
23/09/1999 17:59:19
 
 
À
23/09/1999 17:50:00
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00268283
Message ID:
00268286
Vues:
24
>I just created a spreadsheet using fox OLE. I can see the finished product on my screen. What do I write within the code to save the file?
>
>I am typing the following.....My object is called objexcel
>
>delete file (cFilename) && incase it already exists
>
>objexcel.save (cFilename)
>
>
>I am getting an error message as follows:
>OLE DISPATCH EXCEPTION CODE 1004 FROM MICROSOFT EXCEL
>UNABLE TO GET THE SAVE PROPERTY OF THE APPLICATION CLASS.

How about using the SaveAs. I believe there are 5 params, the name being the first one.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform