I set the Content type as <BR>&#060;% Response.contenttype = "application/vnd.ms-excel" %&#062;<BR>Before displaying the excel page the dialog box with following message popup<BR><BR>&#039Microsoft Excel cannot access the file &#039http://server/Tests/excel2.asp&#039. There are several possible reasons:<BR><BR>- The file name or path name does not exist.<BR>- The file you&#039re trying to open is being used by another program. Close the document in the other program, and try again.<BR>- The name of the workbook you&#039re trying to save is the same as the name of another document that is read-only. Try saving the workbook with a different name.&#039<BR><BR>This file is redirected from a ASP file which also passes Querystring.<BR><BR>When I click Ok it display the table in Excel sheet in the Browser. I am struggling with this issue for couple of days. <BR><BR><BR>Thanks in advance.<BR><BR>Syed