If you use<BR><BR>Response.Buffer = TRUE<BR>Response.ContentType = "application/vnd.ms-excel"<BR>response.AddHeader "content-disposition", "inline; filename=*.*"<BR><BR>to download a file. I keep running into problems that it downloads it twice. Once when you click the download button and then when you open the excel file, it downloads it again. What am I doing wrong? What can I do to fix it?