|
-
Oct 4th, 2000, 04:07 PM
#1
Thread Starter
New Member
Is there a more efficient way to write this code:
If num >= 2000 And num <= 2035 Then
lblResponse.Caption = "correct"
Call correct
Else
If num >= 2100 And num <= 2135 Then
lblResponse.Caption = "correct"
Call correct
Else
If num >= 2200 And num <= 2235 Then
lblResponse.Caption = "correct"
Call correct
Else
.....and the code goes on and on (for a couple pages)with numbers ending always with
##00 and ##35.
TIA
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
|