I want to check if a combobox has one of two value before it runs a function.
I know &, +, is there an Or function that can be applied. I can not seem to find any reference to a syntax to use.
The following comes back with a typemismatch.
If combobox1.Text = ("Crit1") Or ("Crit2") Then
I know &, +, is there an Or function that can be applied. I can not seem to find any reference to a syntax to use.
The following comes back with a typemismatch.
If combobox1.Text = ("Crit1") Or ("Crit2") Then