Bonsoir
Je te remercie pour ta réponse même tardive , mais elle ne correspond pas car il faut que le père et la mère soint en colonne B et C . Je le garde car il pourra me servir.
J'ai continué à travailler sur un formulaire et j'ai réussi avec de multiples combobox (34 exactement). Merci Boigontier.
Mon seul soucis et je pense que tu pourrais peut-être me répondre, lorsque je valide un formulaire que je complète avec les éléments ,le formulaire là rajoute en nouvelle ligne. Je te mets le code:
Private Sub B_valid_Click()
If Me.TextBox1 <> "" Then
LigneEnreg = Me.Enreg
f.Cells(LigneEnreg, 1) = Me.TextBox1
f.Cells(LigneEnreg, 4) = Me.TextBox4
f.Cells(LigneEnreg, 5) = Me.TextBox5
f.Cells(LigneEnreg, 6) = Me.TextBox6
f.Cells(LigneEnreg, 7) = Me.TextBox7
f.Cells(LigneEnreg, 8) = Me.TextBox8
f.Cells(LigneEnreg, 9) = Me.TextBox9
f.Cells(LigneEnreg, 10) = Me.TextBox10
f.Cells(LigneEnreg, 11) = Me.TextBox11
f.Cells(LigneEnreg, 12) = Me.TextBox12
f.Cells(LigneEnreg, 13) = Me.TextBox13
f.Cells(LigneEnreg, 14) = Me.TextBox14
f.Cells(LigneEnreg, 15) = Me.TextBox15
f.Cells(LigneEnreg, 16) = Me.TextBox16
f.Cells(LigneEnreg, 17) = Me.TextBox17
f.Cells(LigneEnreg, 18) = Me.TextBox18
f.Cells(LigneEnreg, 21) = Me.ComboBox2
f.Cells(LigneEnreg, 22) = Me.TextBox22
f.Cells(LigneEnreg, 2) = Me.ComboBox3
f.Cells(LigneEnreg, 19) = Me.TextBox20
f.Cells(LigneEnreg, 3) = Me.ComboBox4
f.Cells(LigneEnreg, 20) = Me.TextBox21
f.Cells(LigneEnreg, 23) = Me.ComboBox5
f.Cells(LigneEnreg, 24) = Me.TextBox26
f.Cells(LigneEnreg, 25) = Me.ComboBox6
f.Cells(LigneEnreg, 26) = Me.TextBox29
f.Cells(LigneEnreg, 27) = Me.ComboBox7
f.Cells(LigneEnreg, 28) = Me.TextBox32
f.Cells(LigneEnreg, 29) = Me.ComboBox8
f.Cells(LigneEnreg, 30) = Me.TextBox35
f.Cells(LigneEnreg, 31) = Me.ComboBox9
f.Cells(LigneEnreg, 32) = Me.TextBox38
f.Cells(LigneEnreg, 33) = Me.ComboBox10
f.Cells(LigneEnreg, 34) = Me.TextBox41
f.Cells(LigneEnreg, 35) = Me.ComboBox11
f.Cells(LigneEnreg, 36) = Me.TextBox44
f.Cells(LigneEnreg, 37) = Me.ComboBox12
f.Cells(LigneEnreg, 38) = Me.TextBox47
f.Cells(LigneEnreg, 39) = Me.ComboBox13
f.Cells(LigneEnreg, 40) = Me.TextBox50
f.Cells(LigneEnreg, 41) = Me.ComboBox14
f.Cells(LigneEnreg, 42) = Me.TextBox53
f.Cells(LigneEnreg, 43) = Me.ComboBox15
f.Cells(LigneEnreg, 44) = Me.TextBox57
f.Cells(LigneEnreg, 45) = Me.ComboBox16
f.Cells(LigneEnreg, 46) = Me.TextBox60
f.Cells(LigneEnreg, 47) = Me.ComboBox17
f.Cells(LigneEnreg, 48) = Me.TextBox63
f.Cells(LigneEnreg, 49) = Me.ComboBox18
f.Cells(LigneEnreg, 50) = Me.TextBox66
f.Cells(LigneEnreg, 51) = Me.ComboBox19
f.Cells(LigneEnreg, 52) = Me.TextBox69
f.Cells(LigneEnreg, 53) = Me.ComboBox20
f.Cells(LigneEnreg, 54) = Me.TextBox56
f.Cells(LigneEnreg, 55) = Me.ComboBox21
f.Cells(LigneEnreg, 56) = Me.TextBox74
f.Cells(LigneEnreg, 57) = Me.ComboBox22
f.Cells(LigneEnreg, 58) = Me.TextBox77
f.Cells(LigneEnreg, 59) = Me.ComboBox23
f.Cells(LigneEnreg, 60) = Me.TextBox80
f.Cells(LigneEnreg, 61) = Me.ComboBox24
f.Cells(LigneEnreg, 62) = Me.TextBox83
f.Cells(LigneEnreg, 63) = Me.ComboBox25
f.Cells(LigneEnreg, 64) = Me.TextBox87
f.Cells(LigneEnreg, 65) = Me.ComboBox26
f.Cells(LigneEnreg, 66) = Me.TextBox90
f.Cells(LigneEnreg, 67) = Me.ComboBox27
f.Cells(LigneEnreg, 68) = Me.TextBox93
f.Cells(LigneEnreg, 69) = Me.ComboBox28
f.Cells(LigneEnreg, 70) = Me.TextBox96
f.Cells(LigneEnreg, 71) = Me.ComboBox29
f.Cells(LigneEnreg, 72) = Me.TextBox99
f.Cells(LigneEnreg, 73) = Me.ComboBox30
f.Cells(LigneEnreg, 74) = Me.TextBox86
f.Cells(LigneEnreg, 75) = Me.ComboBox31
f.Cells(LigneEnreg, 76) = Me.TextBox104
f.Cells(LigneEnreg, 77) = Me.ComboBox32
f.Cells(LigneEnreg, 78) = Me.TextBox107
f.Cells(LigneEnreg, 79) = Me.ComboBox33
f.Cells(LigneEnreg, 80) = Me.TextBox110
f.Cells(LigneEnreg, 81) = Me.ComboBox34
f.Cells(LigneEnreg, 82) = Me.TextBox113
f.Cells(LigneEnreg, 115) = Me.ComboBox34
UserForm_Initialize
End If
End Sub
Encore un grand merci