If you want to display the data in excel format on HTML page, you need to add the following code at the beginning of your asp code:
Response.ContentType = "application/vnd.ms-excel"
And also you need to remove all templates including header, footer, left or right bar. In this ASP file, you only use the table. That's it.