|
-
Oct 18th, 2000, 03:35 PM
#1
Thread Starter
Lively Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|