ich bin auf der Suche nach einem Makro, welches mir alle Togglebutton in meiner Userform auf false setzt, ohne dass ich jeden Button einzeln ansprechen muss.
Wer kann mir helfen?
Wenn ich dieses Makro erweitere geht es nicht:
For Each objControl In Controls
Select Case TypeName(objControl)
Case "TextBox"
objControl.Text = ""
Case "ComboBox"
objControl.ListIndex = -1
Case "CheckBox"
objControl.Value = False
Case "OptionButton"
objControl.Value = False
End Select
Next