Hi All

y doesnot below code work when i am trying to check if value entered is either of the two. "run time error mismatch 13".


Dim pc As String
pc = InputBox("enter your choice")

If pc = "ab " or "cd" Then
MsgBox "1234"
Else
MsgBox "4567"
End If
End Sub