禁止宏隐藏非"空白"工作表如发实现?
为什么移动复制进新的工作表后,原来的禁止宏后隐藏"空白"工作表代码无法使用了?没移动或复制进新表的时候可以用,将移动复制进来的新表删除也无法实现隐藏功能了,求大神是什么问题呢?[quote][/quo
te]
Dim sh as WorkSheet On Error Resume Next Set sh = Nothing Set sh = Sheets("空白") On Error Goto 0 If sh is Nothing Then Set sh = Sheets.Add sh.Name = "空白" End If sh.Visible = False