There are at least a couple ways of getting what you want.
1) You can simply save your data in a file with an *.xls extension. Excel will then open it as though it was a file of its one of its own.
2) You can use ActiveX to write data to a spreadsheet. The big problem is that over the years the ActiveX interface for Excel has tended to uh.... "evolve". The result is that you can write a routine to do what you want and then Excel gets upgraded and everything stops working.
Mike...