Date:  12/03/2014 06:04:16 AM Msg ID:  004750
From:  Ali Koumaiha Thread:  004750
Subject:  Send HTML table as excel to browser?
 Hello,
 
Say i have this script: (just to make it simple)
 
Can i stream this to the browser as an excel file?
I know i can do copy to ... type xls and stream that file, but, i want to send it to the user as excel with the formatting.
 
i also know i can do excel automation, but, every one of my pages has different format and tables and labels etc.. so, that would require me to 'automate' excel for every page, (100s of them) all are reports etc..
 
<table width="400" border="0">
<%
select mytable
scan
%>
  <tr>
   <td>
     <font color='red'><%=name%></font>
   </td>
   <td>
     <font color='blue'><%=address%></font>
  </td>
 </tr>
<%
endscan
%>
</table>