ARNAUD ZIRIPE
XLDnaute Occasionnel
bonsoir à tous
Voila j'ai un tout petit probleme et je souhaiterais avoir de l'aide.
En faite j'ai un Uf qui me permet d'afficher deux uf en fonction du choix fait dans une combobox.
Le deuxième s'affiche mais le première pas du tout.
voici le code:
Private Sub CommandButton1_Click()
If ComboBox1.Value = "BAC A" Then
Unload Me
Load UserForm4
UserForm4.Show
Else
If ComboBox1.Value = "BAC D" Then
Unload Me
Load UserForm8
UserForm8.Show
End If
End If
End Sub
Voila j'ai un tout petit probleme et je souhaiterais avoir de l'aide.
En faite j'ai un Uf qui me permet d'afficher deux uf en fonction du choix fait dans une combobox.
Le deuxième s'affiche mais le première pas du tout.
voici le code:
Private Sub CommandButton1_Click()
If ComboBox1.Value = "BAC A" Then
Unload Me
Load UserForm4
UserForm4.Show
Else
If ComboBox1.Value = "BAC D" Then
Unload Me
Load UserForm8
UserForm8.Show
End If
End If
End Sub