in form it have 2 listbox and in listbox1 and listbox2 items have "s1" , "s2" "s3"
Select Case ListBox1.Text And listBox2.Text
Case "s1"
p1.visible=tre
Case "s2"
p2.visible=tre
Case "s3"
p3.visible=tre
End Select
i want that the code check it item in listbox1 or 2 then do the same action
i tried
Select Case ListBox1.Text Or listBox2.Text
Select Case ListBox1.Text & listBox2.Text
but not work
i want the code do the same thing when u select "s1" item for etc in listbox 1 or listbox 2
thanks for help