Bonjour,
Merci de ta réponse......cela fonctionne et j'ai compris mon erreur.
une petite question, j'ai 3 combobox de suite dans le formulaire ! comment je recupere les réponses pour les copiers dans un tableau.
Private Sub UserForm_Initialize()
Dim ws As Worksheet
Dim j As Long
Set ws = Sheets("REGLEMENT")
With Me.ComboBox1
.Clear ' Efface les anciens éléments, si nécessaire
For j = 3 To ws.Range("I" & Rows.Count).End(xlUp).Row
.AddItem ws.Range("I" & j).Value
Next j
End With
With Me.ComboBox2
.Clear ' Efface les anciens éléments, si nécessaire
For j = 3 To ws.Range("I" & Rows.Count).End(xlUp).Row
.AddItem ws.Range("I" & j).Value
Next j
End with
With Me.ComboBox3
.Clear ' Efface les anciens éléments, si nécessaire
For j = 3 To ws.Range("I" & Rows.Count).End(xlUp).Row
.AddItem ws.Range("I" & j).Value
Next j
End With
End Sub
merci d'avance