January 13th, 2006, 3:00 pm
It sounds as if the 4 files you are reading are probably not xls files, but probably csv. If you want to use SQL to select the correct records, then you need to get this data into a database - Access is fine for this kind of thing. The quickest way to insert the data is using a bulk copy procedure. You can implement this in MS Access using a macro, and the TransferText ActionTo output the data, reference the Excel Object Library from within Access, you can then open up your spreadsheet and write the data to each cell as required.