Yeah, the inconvenient parts could probably be done in vbscript or something on a windows box, pushing the results into the db through odbc, but I thought this would be a common enough problem that cross-platform tools would be available. I am using some java stuff on the reporting side - maybe I should look there for conversion tools too.
Yep, there a few java excel libraries like:
http://jexcelapi.sourceforge.net/ - we are using this one for dumping into excel spreadsheets ...
or