Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two problems with DBF to Excel function
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01373048
Message ID:
01373122
Views:
23
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform