General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only