Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting .XLSM to .dbf
Message
From
11/12/2009 14:15:10
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01438668
Message ID:
01438681
Views:
44
Thanks Naomi - after i posted the message i found a solution that i picked up from this forum last year (sorry i can't remember the expert who came up with it but here it is:)
i don't know whether it can be adapted to xlsm.


lcFile='c:\generic.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
use mydatabase
Append From (lcFile) xls
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform