使用道具 举报
查看全部评分
没有看你的代码 但是你循环的时候判断一下Sheet的Visibal属性 for i = 1 to worksheets.count if worksheets(i).visible=xlSheetVisible then 你的打印代码 end if next
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|Archiver|Excel精英培训 ( 豫ICP备11015029号 )
GMT+8, 2024-4-19 17:32 , Processed in 0.541167 second(s), 18 queries , Gzip On, Yac On.
Powered by Discuz! X3.4
Copyright © 2001-2020, Tencent Cloud.