Dim x As Excel.Application
Set x = CreateObject("Excel.Application")
Dim y As Excel.Workbook
Set y = x.Workbooks.Open(xlsFile, 0, True, , , , True)
y.AcceptAllChanges
y.SaveAs xmlFile, xlXMLSpreadsheet, , , , , xlExclusive, xlLocalSessionChanges
y.Close
Set y = Nothing
Set x = Nothing