Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Import From Excel
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00901601
Message ID:
00901686
Views:
15
>
>ox = CREATEOBJECT("excel.application")
>ox.Workbooks.Open(CURDIR() + "test.xls")
>ox.ActiveWorkbook.SaveAs(CURDIR()+"test2.csv",24)
>ox.ActiveWorkbook.Close(.F.)
>ox.Workbooks.Open(CURDIR()+"test2.csv")
>ox.ActiveWorkbook.SaveAs(CURDIR() + "test2.xls",-4143)
>ox.ActiveWorkbook.Close(.f.)
>IMPORT FROM test2.xls TYPE xl8
>
Ah! This works. I'm assuming there will be no trouble if there are delimiters in a column. Just checked. There is no problems.

Thanks for your help

Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform