Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exporting to Excel file
Message
From
19/05/2018 09:50:06
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01660147
Message ID:
01660151
Views:
48
>Hi,
>
>Whenever I export a file from VFP 9 application (either using EXPORT TO or Createobject("Excel.Application")) and then open the resulting Excel file, I get the message (as shown in the attached image). Then, when I click on Yes (that is to open it anyway), I don't seem to see any problems with the Excel file content?
>Why then MS Excel shows this message?
>TIA

I believe you'll see this is you EXPORT with TYPE XLS. Similarly, make sure you're choosing an appropriate format when you save the file via Automation. There's a parameter for SaveAs that lets you specify the format you want. If you're creating an XLSX file, give it that extension.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform