VB Code:
If Index = 0 Then
If lblBox(0).Tag = "1" Then
If lblBox(3).Tag = "1" And lblBox(6).Tag = "1" Then MsgBox "Player 1 wins", vbOKOnly, "Winner!"
ElseIf lblBox(0).Tag = "2" Then
If lblBox(3).Tag = "2" And lblBox(6).Tag = "2" Then MsgBox "Player 2 Wins", vbOKOnly, "Winner!"
ElseIf lblBox(0).Tag = "1" Then
If lblBox(1).Tag = "1" And lblBox(2).Tag = "1" Then MsgBox "Player 1 wins", vbOKOnly, "Winner!"
ElseIf lblBox(0).Tag = "2" Then
If lblBox(1).Tag = "2" And lblBox(2).Tag = "2" Then MsgBox "Player 2 Wins", vbOKOnly, "Winner!"
ElseIf lblBox(0).Tag = "1" Then
If lblBox(4).Tag = "1" And lblBox(8).Tag = "1" Then MsgBox "Player 1 wins", vbOKOnly, "Winner!"
ElseIf lblBox(0).Tag = "2" Then
If lblBox(4).Tag = "2" And lblBox(8).Tag = "2" Then MsgBox "Player 2 Wins", vbOKOnly, "Winner!"
End If
End If