IE与EXCEL问题
下面是在IE中调用EXCEL的一段代码
调出EXCEL后,显示方式是"普通"
如何改成以"分页预览"方式显示?
***************************************
<%@ Language=VBScript %>
<%
a= 33
Response.Buffer = true
Response.ContentType = "application/vnd.ms-excel"
%>
<table border="1">
<tr>
<th bgcolor="red">项目 A</th>
<th>项目 B</th>
<th>合计</th>
<th>项目 C</th>
<th>项目 D</th>
<th>合计</th>
</tr>
<tr>
<td height="20" bgcolor="red"><%Response.Write a%></td>
<td>3</td>
<td>5</td>
<td>6</td>
<td>7</td>
<td><font color="red">=sum(a2:e2)*100</font></td>
</tr>
<tr>
<td>2</td>
<td>1</td>
<td colspan="4"><font color="red">=sum(a3:b3)+f2</font></td>
</tr>
</table>
***************************************