If X <> 2 And X <> 3 And X <> 4 Then P = 3 ElseIf ComboBox <> "OtherCondition" Then P = 1 Else P = 2 End If