I need to achieve the following when opening an HTML in Excel (Response.contentType=\"application/vnd.ms-excel\") :
(Response.contentType=\"application/vnd.ms-excel\")
It doesn't works sometimes if you add it using a css class in that case try it using in Style to your TD. I did it for formatting a column to a text. like this
css class
Style
TD
style="mso-number-format:\@;"
For you it would be as
mso-number-format:General