如何将vml图形导出到excel中. 可不可以把查询出的网页保存成图片,再导出到excel呢?大家帮帮忙~~继续顶 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 导出一部分的原因是EXCEL的列宽和行高太小,可以调整之后就显示了<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html xmlns:v="urn:schemas-microsoft-com:vml"><STYLE> v\:* { BEHAVIOR: url(#default#VML) }</STYLE><body><v:roundrect strokecolor="black" fillcolor="white" style="position:relative;left:20;top:5;width:100px;height:40px;z-index:9"> <v:shadow on="t" type="single" color="silver" offset="3pt,3pt"></v:shadow> <v:textbox id="memo" style="font-size:10pt;color:blue;line-height:18px" inset="1,1,1,1">Hello world!<br>Hello VML!</v:textbox></v:roundrect><v:oval strokecolor="black" fillcolor="white" style="position:relative;left:9;top:20;width:14px;height:10px;z-index:8"> <v:shadow on="t" type="single" color="silver" offset="3pt,3pt"></v:shadow></v:oval><v:oval strokecolor="black" fillcolor="white" style="position:relative;left:0;top:35;width:10px;height:8px;Z-index:7"> <v:shadow on="t" type="single" color="silver" offset="3pt,3pt"></v:shadow></v:oval><input name="button1" type="button" value="确定" onclick="show()"><script language=javascript>function show(){ document.execCommand("saveAs",true,"1.xls")}</script> 谢谢,我按这样另存,保存的是整个网页,我希望得到的只是查询出的vml图形,另外,打开excel时抱加载css失败,我希望的图形也没能显示出来,请问如何处理? 弹出一个页面,把innerHTML设置下,然后按上面的方法做就可以了 help ,jquery 关于js 点击改变图片 求教一个document.write换行问题 js如何獲得所有相似(相同的前綴)的ID? 急!!希望大家帮忙,如何实现多个页面随意浮动广告???? Firefox如何对中文参数编码解码 jquery如何传参数 新手求教 急! 在js中,怎样取得控件返回的变量(在函数参数中)? 如何给span或DIV赋值? 关于日历插件的显示问题 Javascript 面向对象的方法声明问题? 如何获得上级标签?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml">
<STYLE>
v\:* { BEHAVIOR: url(#default#VML) }
</STYLE>
<body>
<v:roundrect strokecolor="black" fillcolor="white" style="position:relative;left:20;top:5;width:100px;height:40px;z-index:9">
<v:shadow on="t" type="single" color="silver" offset="3pt,3pt"></v:shadow>
<v:textbox id="memo" style="font-size:10pt;color:blue;line-height:18px" inset="1,1,1,1">Hello world!<br>Hello VML!</v:textbox>
</v:roundrect>
<v:oval strokecolor="black" fillcolor="white" style="position:relative;left:9;top:20;width:14px;height:10px;z-index:8">
<v:shadow on="t" type="single" color="silver" offset="3pt,3pt"></v:shadow>
</v:oval>
<v:oval strokecolor="black" fillcolor="white" style="position:relative;left:0;top:35;width:10px;height:8px;Z-index:7">
<v:shadow on="t" type="single" color="silver" offset="3pt,3pt"></v:shadow>
</v:oval>
<input name="button1" type="button" value="确定" onclick="show()">
<script language=javascript>
function show()
{
document.execCommand("saveAs",true,"1.xls")
}
</script>