Décisions
If Then
Sur une seule ligne :
If condition Then instruction:instructionSur plusieurs lignes (préférable) :
If condition Then
instructions
ElseIf condition Then
instructions ...
ElseIf condition Then
instructions ...
Else
instructions
End IfSelect Case
Select Case testexpression
Case expressionlist
instructions
Case Else
instructions
End SelectExpressionlist peut avoir comme valeur :
1, 2, 10
1 To 5, 10 To 20
Is > 10