Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting .XLSM to .dbf
Message
 
 
To
11/12/2009 14:15:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01438668
Message ID:
01438682
Views:
41
Yes, it was the same suggestion - picked up from Tore Bleken here.

>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
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform