Instead of an Excel file, create a CSV file on the server using the a server side instance of the FileSystemObject. When you have finished creating the file, just add a link to the file. The CSV file will open in Excel. If you are using a later version of IE, it will actually open a worksheet in the browser.
Hope this helps