kidoln
Sub 隐藏()
Dim sh As Shape
For Each sh In ActiveSheet.Shapes
If sh.Type = msoFormControl Then
If sh.FormControlType = xlGroupBox Then sh.Visible = False
End If
Next
End Sub

Sub 显示()
Dim sh As Shape
For Each sh In ActiveSheet.Shapes
If sh.Type = msoFormControl Then
If sh.FormControlType = xlGroupBox Then sh.Visible = True
End If
Next
End Sub

  

分类:

技术点:

相关文章:

  • 2021-09-09
  • 2022-12-23
  • 2021-12-12
  • 2021-03-30
  • 2021-11-03
  • 2021-12-28
猜你喜欢
  • 2021-12-12
  • 2022-12-23
  • 2021-12-12
  • 2021-11-03
  • 2022-12-23
  • 2021-12-04
相关资源
相似解决方案