Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to save the Excel file as DBF format
Message
From
25/01/2011 05:21:50
 
 
To
25/01/2011 04:23:40
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01497313
Message ID:
01497325
Views:
69
As I wrote in my earlier message, it seems that Excel2007 can not save as dbf. May I ask why you won't use APPEND FROM or IMPORT?

>Hi,
>I use SAVE AS to change the excel file into DBF file,
>but it have error at SaveAs statement.
>
>What's wrong ?
>
>
>
>vfile= "W110120.XLS"
>oExcel = CreateObject("Excel.Application")
>oWorkbook = oExcel.Workbooks.Open(vFile)
>tSheets = oWorkbook.Sheets.Count             && get total of sheets
>oExcel.Workbooks.SaveAs("W110120.DBF",8)
>
>
>
>Please advise.
>Thanks.
>Derek
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform