Ok this question is lame. But I searching for the answer on MSDN Online has turned up NADA. So I come to the benevolent souls on this message board.
Ok... I don't know how to use AND and OR statements in VB. Here is my code snipit. If figured it has something to do with the parenthesis and the "&". Maybe someone can help a brotha' out.
Do While ((currentArrayLocation < 10) & (inTopTen = False))
If (Worksheets("Sheet5").Range("H" & rangeInt).Value >= currentArray(currentArrayLocation).clicks) Then
inTopTen = True
Else
currentArrayLocation = currentArrayLocation + 1
End If
Loop
Thanks in advance,
cLocKwOrk


Reply With Quote