Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to convert Excel 2007 to dbf
Message
From
09/08/2008 04:02:36
 
 
To
08/08/2008 18:36:39
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01337704
Message ID:
01337749
Views:
53
>I need to convert a Excel 2007 to dbf
>It's worked in Excel 3003
>
>TIA
lcFile='yourfile.xls'
Erase (Forceext(lcFile,'xxx'))
ox=Createobject('excel.application')
owb=ox.Workbooks.Open(lcFile)
lcFile=Forceext(lcFile,'xxx')
ox.DisplayAlerts= .F.
owb.SaveAs(lcFile,39)
owb.close()
owb=.null.
ox=.null.
Release owb
Release ox
Close Databases all
Create table yourtable...
Append From (lcFile) xls
Erase (lcFile)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform