M
mezzanine1974
Say that we have a ComboBox1 where its value are either YES or NO.
I am writing such a simple If..Then..Else statement but it is not
responding properly.
If Me.ComboBox1.Value = Yes Then
...Statement1
ElseIf Me.ComboBox1.Value = No then
...Statement2
EndIf
As for above code, when combo value is NO, Statement1 is executed,
instead Statement2. When combo value is YES, nothing is executed!
I could not sleep yesterday night because of this mystery. Could you
help me please.
Thanks
I am writing such a simple If..Then..Else statement but it is not
responding properly.
If Me.ComboBox1.Value = Yes Then
...Statement1
ElseIf Me.ComboBox1.Value = No then
...Statement2
EndIf
As for above code, when combo value is NO, Statement1 is executed,
instead Statement2. When combo value is YES, nothing is executed!
I could not sleep yesterday night because of this mystery. Could you
help me please.
Thanks