I suppose you used listbox for displaying those teams. Why don't you use combobox? It is easier to handle data from combobox (or textbox). Than you can use only one if - else if statement.
Use property of textbox or combo to start on each text change.
something like this:
if textbox1.text = "some_name" then
Dim myform As New Form2
myform.Show()
elseif textbox1.Text = "some_name_2" then
Dim myform1 As New Form3
myform1.Show()
...
end if
|