Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exporting To Excel
Message
From
19/05/2005 17:44:02
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
19/05/2005 14:13:56
Stan Vaninger
Mitek Industries, Inc
Missouri, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01015815
Message ID:
01016038
Views:
20
>Cetin,
>
>Thanks for your reply.
>
>Type csv does not work with the 'Export To' command giving a syntax error. It does work with the 'Copy To' command but again, when the Excel 2000 user opens the file and then attempts to close it, there is yet another very confusing dialog (different from those I referred to in my initial post), "MyFile.csv may contain features that are not compatible with CSV. Do you want to keep the workbook in this format?"
>
>My users are not going to know what to do when they see these kinds of dialogs.
>
>Others have suggested using Automation which I may end up doing.
>
>Stan

Stan,
Yes it's 'copy to'.

-Copy to myFile.xls type csv
-Open with excel via automation
-SaveAs in normal excel format

Best alternative is to use Excel's QueryTables.Add method. You could use OLEDB or ODBC for that. ie: Check Message #993947

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform