GenerateXLS is an ASP script that generates a comma delimited (CSV) file (that you can then open in Excel or some similar spreadsheet software) from a database.
http://www.ziddu.com/download/7012405/generatexls_1.1.tar.gz.html