Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Private Sub CheckBox1_Click()
  2. End Sub
  3.  
  4. For Each c In Me.Controls '<----Error line
  5.  
  6. If TypeOf c Is MSForms.CheckBox Then
  7. If c Then
  8. Select Case c.Name
  9.  
  10. Case "CheckBox1"
  11. 'Code
  12.  
  13. Case Else
  14. End Select
  15. End If
  16. End If
  17. Next c
  18. Hide
  19. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement