I dont like the technique of writing the html and show the html in Excel.
I would definitely prefer to use the normal XLS format to export data.
I didn't get that what u said..
I tried the code which u told.. it builds succed but at run time
it is not working neither showing any error