Hi there everyone. I am working on a bingo caller, and the user can switch the function of showing called numbers on the board, or uncalled numbers.
When they switch, the prog will check to see if the number was called, and if so, will keep it invisible.
Like this.
Dim i61 As Long
For i61 = List2.ListCount - 1 To 0 Step -1
If InStr(1&, List2.List(i61), "61", vbTextCompare) Then
BoardNumber(60).Visible = False
End If
Next
The problem is,
using VBTextCompare, if the program finds the number 61, it will also take the numbers 6 and 1 out as well. Is there a way to change it so it will only look for 61, and not 6 and 1 as well? Thanks! !!
When they switch, the prog will check to see if the number was called, and if so, will keep it invisible.
Like this.
Dim i61 As Long
For i61 = List2.ListCount - 1 To 0 Step -1
If InStr(1&, List2.List(i61), "61", vbTextCompare) Then
BoardNumber(60).Visible = False
End If
Next
The problem is,
using VBTextCompare, if the program finds the number 61, it will also take the numbers 6 and 1 out as well. Is there a way to change it so it will only look for 61, and not 6 and 1 as well? Thanks! !!