Hi, this is my code, but still cant get it to work, am i mssing something simple:
For i = 0 To 15
Do Until Y = 60
If LookFor.GetValueAt(X) = SearchValue.GetValueAt(Y) Then
Log("Found a match" & SearchValue.GetValueAt(Y))
Else
Y = Y + 1
Log("Not Found " & SearchValue)
End If
Loop
X = X + 1
Next
Results:
Not Found (MyMap) {1=, 2=2, 3=, 4=4, 5=, 6=6, 7=, 8=, 9=9, 10=, 11=11, 12=, 13=, 14=14, 15=, 16=16, 17=, 18=, 19=19, 20=20, 21=21, 22=22, 23=23, 24=24, 25=25, 26=26, 27=27, 28=29, 29=, 30=30, 31=, 32=, 33=, 34=, 35=, 36=, 37=37, 38=, 39=, 40=, 41=41, 42=, 43=43, 44=, 45=45, 46=, 47=, 48=, 49=49, 50=, 51=, 52=52, 53=, 54=54, 55=55, 56=, 57=57, 58=, 59=, 60=60, 61=61, 62=, 63=63, 64=64, 65=65, 66=, 67=, 68=, 69=, 70=, 71=, 72=72, 73=, 74=74, 75=, 76}
Not Found (MyMap) {1=, 2=2, 3=, 4=4, 5=, 6=6, 7=, 8=, 9=9, 10=, 11=11, 12=, 13=, 14=14, 15=, 16=16, 17=, 18=, 19=19, 20=20, 21=21, 22=22, 23=23, 24=24, 25=25, 26=26, 27=27, 28=29, 29=, 30=30, 31=, 32=, 33=, 34=, 35=, 36=, 37=37, 38=, 39=, 40=, 41=41, 42=, 43=43, 44=, 45=45, 46=, 47=, 48=, 49=49, 50=, 51=, 52=52, 53=, 54=54, 55=55, 56=, 57=57, 58=, 59=, 60=60, 61=61, 62=, 63=63, 64=64, 65=65, 66=, 67=, 68=, 69=, 70=, 71=, 72=72, 73=, 74=74, 75=, 76}
All i want is to find the first value in my LookFor map (1: clbl1, 2: clcbl2, 3: clbl3) - text values
and then if it conatins in my second map SearchIn (1: label1, 2: label2, 3: label3) co-ordinates in each label
If 1: clbl.text = label3.text then
checkbox = true
but cant seem to get it to work, and changed the code........still new to this, but can you advise please?