im trying to import html table data to an excel file and have succeeded in doing so:
<BODY>
<td><input type="text" name="txtVendorName" id="txtVendorName" value="weee"/></td>
</BODY>
<%
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader "Content-Disposition", "filename=excelfile.xls"
%>
however upon looking at the generated file closely, i noticed that the values are not actually written in any cell.
would you happen to know how i can “target” cells and write to them?
that is because you are using an input tag just write the text in the td like so:
another method is to use the Jet OLE DB Provider 4.0 like here