Hi,
I get information from SQL Server into asp and open it in Excel.
<%'--This code open file in excel---
Response.Buffer=TRUE
Response.ContentType = "application/vnd.ms-excel"
%>
<table border=1>
<tr>
<td>Name</td>
<td>Count</td>
</tr>
<%do while not RS.EOF%>
<tr>
<td><%=RS("NAME")%></td>
<td><%=RS("CNT")%></td>
</tr>
<%RS.movenext
loop%>
</table>
When Excel file is open I press F11 and it converted to the chart.
I need the code that will open chart from asp into Excel.
Thanks,
Mark
I get information from SQL Server into asp and open it in Excel.
<%'--This code open file in excel---
Response.Buffer=TRUE
Response.ContentType = "application/vnd.ms-excel"
%>
<table border=1>
<tr>
<td>Name</td>
<td>Count</td>
</tr>
<%do while not RS.EOF%>
<tr>
<td><%=RS("NAME")%></td>
<td><%=RS("CNT")%></td>
</tr>
<%RS.movenext
loop%>
</table>
When Excel file is open I press F11 and it converted to the chart.
I need the code that will open chart from asp into Excel.
Thanks,
Mark