Wer kann mir bitte helfen? Ich habe eine UF mit 2 Optionsfeldern. Ich möchte einen Hinweis mit einer MsgBox bekommen, wenn keines der beiden Optionsfelder ausgewählt wurde.
Wie mache ich das in VBA?
Danke für Eure Hilfe
Gruss
Bernhard
Private Sub CommandButton1_Click()
If OptionButton1.Value = False And OptionButton2.Value = False Then MsgBox "bitte erst _
eine Option wählen", vbInformation
End Sub
Gruß Matthias