You separate multiple values ββwith a comma:
Case Combo1.SelectedItem, Combo2.SelectedItem
Using Or will make it an expression that will be evaluated before comparing with the value in Select .
If your Select value is a Long value, you may need to convert the strings from the controls:
Case CLng(Combo1.SelectedItem), CLng(Combo2.SelectedItem)
To directly ask a question, using multiple values ββas a test expression in a selection is not possible:
Select Case v1, v2 'Not possible
Guffa source share