|
60精币
Table_头部:
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 12">
<style>
<!--table
{mso-displayed-decimal-separator:"\.";
mso-displayed-thousand-separator:"\,";}
@page
{margin:.75in .7in .75in .7in;
mso-header-margin:.3in;
mso-footer-margin:.3in;}
ruby
{ruby-align:left;}
rt
{color:windowtext;
font-size:9.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:宋体;
mso-generic-font-family:auto;
mso-font-charset:134;
mso-char-type:none;
display:none;}
tr
{mso-height-source:auto;
mso-ruby-visibility:none;}
col
{mso-width-source:auto;
mso-ruby-visibility:none;}
br
{mso-data-placement:same-cell;}
ruby
{ruby-align:left;}
.style0
{mso-number-format:General;
text-align:general;
vertical-align:middle;
white-space:nowrap;
mso-rotate:0;
mso-background-source:auto;
mso-pattern:auto;
color:black;
font-size:11.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:宋体;
mso-generic-font-family:auto;
mso-font-charset:134;
border:none;
mso-protection:locked visible;
mso-style-name:常规;
mso-style-id:0;}
td
{mso-style-parent:style0;
padding-top:1px;
padding-right:1px;
padding-left:1px;
mso-ignore:padding;
color:black;
font-size:11.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:宋体;
mso-generic-font-family:auto;
mso-font-charset:134;
mso-number-format:General;
text-align:general;
vertical-align:middle;
border:none;
mso-background-source:auto;
mso-pattern:auto;
mso-protection:locked visible;
white-space:nowrap;
mso-rotate:0;}
.xl65
{mso-style-parent:style0;
mso-number-format:"\@";}
-->
</style>
</head>
<body link=blue vlink=purple class=xl65>
<table border=0 cellpadding=0 cellspacing=0 width=337 style='border-collapse:
collapse;table-layout:fixed;width:253pt'>
<col class=xl65 width=160 style='mso-width-source:userset;mso-width-alt:5120;
width:120pt'>
<col class=xl65 width=177 style='mso-width-source:userset;mso-width-alt:5664;
width:133pt'>
Table_尾部:
<![if supportMisalignedColumns]>
<tr height=0 style='display:none'>
<td width=160 style='width:120pt'></td>
<td width=177 style='width:133pt'></td>
</tr>
<![endif]>
</table>
</body>
</html>
在win7下 写出excel正常,保存后打开一看,超链接文本都变蓝色还加了下划线(写的时候正常,没有这些东西),而且如果有写出图片到excel,写的时候也可以看到是正常的,写出后图片都没了。
win10情况下每台电脑都正常(试了四台电脑了),win7就一台还留着图片,公司电脑的win7全都不行,生成了个file文件夹.实在没接触过html标记语言,无法理解怎么回事。
补充内容 (2024-7-15 17:15):
感谢各位来阅的热心大神,这个问题太久了,我已经改变策略不用这个方法了,因不知道怎么删帖,特此补充 |
|