Hello all, I am having a problem with my For...Next Loop, even when the "If " statement is incorrect, I will get a "success" msg. I am not sure what I am doing right. Please advise.
IntPin(0) is an array with numbers from txtBoxes 1-7
IntMinPin is an array with integers
IntMaxPin is an array with integers
For intCount As Integer = 0 To (intPin.Length - 1) If intCount = intPin(0) >= intMinPin(0) And intPin(0) <= intMaxPin(0) Then End If MsgBox("success") Next