Hi,
it would be more like this:
Rather than using Select Case, I would use 3 If...Then statements.
If i = 1 OrElse i = 100 Then
Instructions 1
End If
If i = 2 OrElse i = 100 Then
Instructions 2
End If
If i = 3 OrElse i = 100 Then
Instructions 3
End If
On 17.03.2008 20:56, vovan wrote:
How about this:
Select Case i
Case 1
Istructions 1
Case 2
Istructions 2
Case 3
Istructions 3
Case 100
Istructions 1
Istructions 2
Istructions 3
End Select
?
vovan
"Marcolino" <ma************@gmail.comwrote in message
news:35**********************************@59g2000h sb.googlegroups.com...
>Hi,
I have a particular need and I tryed to use this code:
Select Case i
Case 1 or 100
Istructions 1
Case 2 or 100
Istructions 2
Case 3 or 100
Istructions 3
End Select
In deep I need that:
if i=1 or 2 or 3 i need to execute the single instruction contained in
a single case.
If i=100 i need to execute all instruction.
This code does not work, any suggestions?
Thanks