I was able to find some VBS code that converted .XLS to .XML
the resulting XML is microsoft excel XML format.
<code>
Dim objXLApp, objXLWb, objXLWs
Set objXLApp = CreateObject("Excel.Application")
'objXLApp.Visible = True true would open the excel program
Set objXLWb = objXLApp.Workbooks.Open("c:\temp\xls\YOUREXCELFILE.xls")
objXLWb.SaveAs "c:\temp\xls\YOURXMLFILE.xml", 46
objXLWb.Close (False)
set objXLApp = Nothing
set objXLWb = Nothing
set objXLWs = Nothing
</code>
borrowed from here:
http://stackoverflow.com/questions/12312566/open-update-and-save-excel-workbook-automatically
this might help too
http://msdn.microsoft.com/en-us/library/office/bb241279(v=office.12).aspx
-or-
http://msdn.microsoft.com/en-us/library/office/ff198017(v=office.15).aspx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.