Import a XML File to Excel for save it as xlsx file.
on Sat, 26 Dec 2015 10:55:33 +0100

Hello dear friends.
I have found source code of Paul Chong in March of 2014 like this:
oExcel := CreateObject("Excel.Application")
oExcel:DisplayAlerts := .F.
oExcel:visible := .T.
oBook := oExcel:workbooks:Add()
oSheet := oBook:ActiveSheet
oExcel:ActiveWorkbook:XmlImport("D:\MIDAS\PROCESOS\BAL\CONTA.XML","")
oExcel:ActiveWorkbook:SaveAs("D:\MIDAS\PROCESOS\BAL\CONTA.xlsx")
oExcel:ActiveWorkbook:Close()
oExcel:Quit()
oExcel:Destroy()
Well, it caused an error attachment.
The matter is I need import a XML File to Excel for save is as xlsl file.
Does anybody knows how I could get it?
Regards.
César.