我想使用 Coldfusion 从浏览器中的 xls 文件中显示多个选项卡,即多个工作表。我的逻辑很完善,但我不确定是否有办法做到这一点。我的逻辑如下:
<cfspreadsheet
action="read"
format="html"
src="test.xls"
name="Spreadsheet"
<cfloop index="i" from="1" to="5"> <!--- or however many tabs there are --->
sheet="#i#"
</cfloop>
>
<table>
<cfoutput>
#Spreadsheet#
</cfoutput>
</table>
现在我知道这段代码不起作用,所以我一直在寻找类似的解决方案。谢谢大家。