Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two problems with DBF to Excel function
Message
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
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01373048
Message ID:
01373122
Vues:
25
>Hi Naomi
>I might be able to answer you second question, I use the following code to detect Excel 2007 and save the file without alerts:
>
>xl.DisplayAlerts = .F.
>if '12' $ xl.version && XL 2007
> xl.ActiveWorkbook.SaveAs(this.xlFilename,39)
>else
> xl.ActiveWorkbook.SaveAs(this.xlFilename)
>endif
>
>
>Hope this helps
>Kevin

Kevin,

Thanks a lot. It is the second time I see 39 recommended as a format to save, do you know what is the rationale behind?

Hope also someone can help me with the first problem.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform