excel提示57121 应用程序定义或对象定义错误 附出错代码

2025-04-13 09:25:39
推荐回答(2个)
回答1:

excel 的问题。
换成:
for each sh in sheets
if sh.name<>"a" then
sh.visible =false
end if

next

回答2:

把你那个出错的工作表,先复制,再粘贴,再删除,把粘贴的工作表改名为原来的表。