|
-
Jan 14th, 2007, 12:30 PM
#1
Thread Starter
Addicted Member
Difference between Case Not 6 and Case Is <> 6 ???
What is the difference between Case Not 6 and Case Is <> 6 ??? Or am I useing incorect syntax?
(Objective: if index is not equal to 6)
This code works
VB Code:
Public Sub HideSortTech(ByVal Index As Integer)
Select Case Index
Case Is <> 6
'code
End Select
End Sub
but
This code dosen't work
VB Code:
Public Sub HideSortTech(ByVal Index As Integer)
Select Case Index
Case Not 6
'code
End Select
End Sub
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
|