I have an 'IF THEN ELSE' loop. But I would like to have another IF THEN loop inside this (just one simple if then). Is this possible? Or should I be looking at something different altogether?
Thanks folks, your help is invaluable.
Much appreciated.
Printable View
I have an 'IF THEN ELSE' loop. But I would like to have another IF THEN loop inside this (just one simple if then). Is this possible? Or should I be looking at something different altogether?
Thanks folks, your help is invaluable.
Much appreciated.
Yes its called nested statements.
IE
or there is a select statemateCode:If x = 1 Then
If x = 1 And y = 1 Then
code
End If
Else
code
End If
HTHCode:Select Case x
Case 1
code
Case 4
code
Case 5
code
Case 6
code
End Select
G