📄 getexecl.jsp
字号:
<%@ page contentType="text/html; charset=gb2312"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>调用Excel</title>
<style type="text/css">
<!--
body {
background-color: #000000;
margin-left: 0px;
margin-top: 0px;
}
td{
font-size:9pt;
}
.style1 {font-size: 11pt}
-->
</style></head>
<script language="javascript">
var wrd=new ActiveXObject("Excel.Application");
wrd.visible=true;
alert("您的"+wrd.Application.Caption+"安装路径为:\n"+wrd.Application.Path+"\n 版本号是:"+wrd.Application.version+"\n注册使用着是:"+wrd.Application.UserName);
wrd=null;
</script>
<body>
<table width="579" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td> </td>
</tr>
</table>
<table width="579" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top" bgcolor="#FFFFFF"> <table width="579" height="487" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top" bgcolor="#FFFFFF"><table width="579" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="2%" height="28"> </td>
<td width="9%" background="../../../images/circle.jpg"> </td>
<td width="89%" bgcolor="#FFFFFF"><span class="style1">调用Excel</span></td>
</tr>
<tr style="line-height:2px">
<td width="2%" height="5"> </td>
<td height="5" colspan="2" bgcolor="#D4D0C8"> </td>
</tr>
<tr align="center" valign="top" bgcolor="#FFFFFF">
<td height="454" colspan="3"><p> </p>
<table width="112" height="38" align="center" background="../../../images/bar1.jpg" border="0" cellspacing="0" cellpadding="0">
</table>
<p> </p>
<p> </p></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -