Excel File Open
Hi Guys,
Today I am trying to open an excel file from a link . Because the excel file shows different data so it follows through an asp file.
But I always get an error page not found.
The code is below :
<%@ LANGUAGE="VBSCRIPT" %>
<%Sub SendExcelData()%>
<%Sub SendExcelData()
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader "Content-disposition", "filename=Account.xls;"
%>
<table BORDER="1" CELLSPACING="0" WIDTH="70%">
<tr>
<td BGCOLOR="#336699"><b>Amount(£)</b></td>
</tr>
</table>
<%
End sub
%>
Any help would be very much appreciated.
Regards
nitin
|