Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xslx
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Xslx
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01611889
Message ID:
01611988
Views:
70
>>
>>oXL = CreateObject("Excel.Application")
>>oXL.Workbooks.Open("YourFile.XLS")
>>oXL.ActiveWorkbook.Save("YourFile", nDesiredFormat)
>>oXL.Quit()
>
>
>>
>>
>>Use 56 for Excel 97 format. That said, I don't think newer versions can actually produce an Excel 97 format that VFP can read. You have to go back to Excel 5 format for that to work; I think the constant you want is 39.
>>
>>Tamar
>
>
>Tamar
>
>I don't understand - the file I am trying to convert is an xslx file to xls file - will your code do that?

It should - just use xlsx as extension in the sample. Why you don't want to try that code first to test?
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