Image does not appear in Excel 
Author Message
 Image does not appear in Excel

I have a web page that has a table with image in it. When a user click on a
button on that page, I write that HTML page to an excel format. Everything
else appears ok, except the image does not appear. What do I need to do to
make the image appear on the excel format? Thank you.

This is my HTML file:

  <P ID="BMTable1">
  <table border="1" cellpadding="5">
  <tr>
    <td><font color="#008000" size="2"
face="Arial"><strong>Competitor</strong></font></td>
    <td><font color="#008000" size="2" face="Arial"><strong>Picture
3</strong></font></td>
 </tr>
     <tr>
      <td valign="top"><font size="2"
face="Arial"><strong>AT&T</strong></font></td>
       <td valign="top"><img
src="file://myserver/wwwroot/report/images/dow.gif" border="0"></td>
   </tr>
   </table>
   </p>
   </body>
   </html>

<form method="POST" name="ExcelForm" action="CallExcel.asp">
 <input type="hidden" name="HTMLText" value>
 <input type="button" value="Go to Excel" name="CallExcel">
</form>
<script language="VBScript">
sub CallExcel_onclick()
  document.ExcelForm.HTMLText.value = document.ExcelForm.HTMLText.value &
document.all("BMTable1").innerhtml
 document.ExcelForm.submit
end sub
</script>

Here is the excel format HTML file:

<%response.contentType="application/vnd.ms-excel"%>

<TABLE border=1 cellPadding=5>
<TBODY>
<TR>
<TD><FONT color=#008000 face=Arial
size=2><STRONG>Competitor</STRONG></FONT></TD>
<TD><FONT color=#008000 face=Arial size=2><STRONG>Picture
3</STRONG></FONT></TD>
<TD><FONT color=#008000 face=Arial size=2><STRONG>Alpha
35</STRONG></FONT></TD></TR>
<TR>
<TD vAlign=top><FONT face=Arial size=2><STRONG>AT&amp;T</STRONG></FONT></TD>
<TD vAlign=top><IMG border=0
src="file://myserver/wwwroot/report/images/dow.gif"></TD>    -->> THIS IMAGE
DOES NOT SHOW UP
<TD vAlign=top><FONT face=Arial
size=2>Alaska</FONT></TD></TR></TBODY></TABLE>



Sun, 21 Jul 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Excel fields not appearing

2. Image stored in a image control needs to appear fainter when disabled

3. 'TODO doe snot appear to work.

4. DHTML Effects - Making Images/Tables Appear/Disappear

5. IE SaveAs menu items not appearing

6. Messagebox appears in not active IE window

7. server side jscript does not appear

8. why does new file not appear instantly?

9. Memo field on ASP page - line breaks not appearing

10. VBScript OBJECTs not appearing in IE 6.0

11. Cookies not being saved all the time and occassionally appear deleted

12. Memo field on ASP page - line breaks not appearing

 

 
Powered by phpBB® Forum Software