Export data to XML Spreadsheet file in VB6 using EasyXLS component! Spreadsheets in VB6.
https://www.easyxls.com/manual/tutorials/vb6/export-data-to-xml-file.html