ASP 导出Excel 超过25列时自动换行,怎么解决

2025-04-14 12:53:08
推荐回答(1个)
回答1:

建议使用for循环,这样你就可以
if i mod 25 =o then
换行语句
end if
如果用 do while 你就要定义一个变量,没执行一次就+1,然后判断其值等于25.