I have tried this :
Response.AddHeader "Content-Disposition", "attachment; filename=test.xls;"
and
response.AddHeader "content-disposition", "filename=test.xls"
and
response.AddHeader "content-disposition", "inline; filename=test.xls"
Still same problem. I have other pages on the same server downloading
excel. I don't know what is missing.
Mike
"Ray Costanzo [MVP]" wrote:
Did you copy and paste that code? If so, you have a syntax error.
filename=" <-- no quote
Ray at work
"Mike D" <Mi***@discussions.microsoft.com> wrote in message
news:9D**********************************@microsof t.com...I know everyone says their problem is weird so ...
I have a weird problem. I am trying to save an asp file as an excel
spreadsheat. The table displays fine in html but when I add
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader "Content-Disposition", "attachment;
filename="test.xls;"
I get:
Internet Explorer cannot download 2004 from ricweb3.mydomain.com
Internet explorer was not able to open this Internet site. The requested
site is either unavailable or cannot be found.
Please try again later.
Thanks for any help.
Mike