bonjour à tous
Y aurait il un moyen de mettre plusieurs choix dans le if au lieux de taper autant de ligne que de choix ?
Merci d'avance
Y aurait il un moyen de mettre plusieurs choix dans le if au lieux de taper autant de ligne que de choix ?
Code:
Private Sub ComboBox1_change()
If ComboBox1 = ('Animateur Insertion') Then
Emploi_Repere.Text = 'Animateur'
End If
If ComboBox1 = ('Animatrice Insertion') Then
Emploi_Repere.Text = 'Animateur'
End If
en
If ComboBox1 = ('Animatrice Insertion', 'Animatrice Insertion') Then
Emploi_Repere.Text = 'Animateur'
End If
Merci d'avance