While it's not a self-contained class, I'll toss this in there:
You can easily spit out excel to a browser by sending the proper MIME type (application/excel or application/vnd.ms-excel), then writing a simple HTML table. Another simple alternative is an XML document, but that only works in Excel XP/2002 and newer (but is much nicer to work with IMHO).