Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel binary file 2007?
Message
 
À
11/04/2011 11:11:55
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Divers
Thread ID:
01506899
Message ID:
01506914
Vues:
48
>That works for me in 2003 and 2007 (can't test it on 2010):
>
>oExcel.ActiveWorkbook.SaveAs(FORCEEXT(lcExportfile,[XLS]), 39)
>
>Great!
>
>This worked for me too in 2010!!!
>
>I don't know how (what's 39???) but it's a goal.
>
>Then I'll out what means 39 in constants.
>
>Thank you very much, Borislav!
>
> Hector



39 is file format xlExcel5 :-)

Check WorkBook.SaveAs() in VBA Help for more info.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform