Okay. So i have created a userform with several textboxes and optionbuttons.
What i have achieved until now is that ceartain textboxes are mandatory and have to be filled. But i dont seem to get it with the optionbuttons and i dont know why.
the if statement is as follows:
now you may think that the statement
could be the error. But i have tried the whole if statement without the textboxes and it worked as i wanted it to work, so it shouldnt be the error, right?
i dont know how i solve this problem. I need help.
What i have achieved until now is that ceartain textboxes are mandatory and have to be filled. But i dont seem to get it with the optionbuttons and i dont know why.
the if statement is as follows:
VBA Code:
If Me.ADA.Value <> "" And Me.datummat.Value <> "" And Me.KommNr.Value <> "" And Me.Empfänger.Value <> "" And Me.Artikel.Value <> "" And (Me.Ausgabe.Value = "wahr" Or Me.Rücknahme.Value = "wahr") Then
now you may think that the statement
VBA Code:
Me.Ausgabe.Value = "wahr"
i dont know how i solve this problem. I need help.