Sub essai()
If Range("A1") = 1 Then
Range("A2").Activate
ActiveCell = "toto"
'*** suite ations condition 1
Else
Range("B2").Activate
ActiveCell = "bibi"
'*** suite ations condition 2
End If
End Sub
Pour deux conditions c.est bien pour 10 ont fait quoi ?
Sub Traitement()
Select Case [A1]
Case 1
MsgBox "Traitement 1"
Case 2
MsgBox "Traitement 2"
Case 3
MsgBox "Traitement 3"
Case Else
MsgBox "Aucun Traitement"
End Select
End Sub