laceline a écrit :
Mak_S0us, le forum,
Tu as écrit : End(x1Up) ... en fait c'est End(XLUP)
LaCéline
Merci, ça fonctionne mais j'ai un autre problème maintenant, je saisi mes données, je valide, mais j'ai qu'une donnée qui s'affiche, les autres ne s'affichent pas. Il y a une erreur dans mon code ?
Private Sub CommandButton3_Click()
Dim no_ligne As Integer
no_ligne = ComboBox1_Change.ListIndex + 2
TextBox1.Value = Cells(no_ligne, 1).Value
TextBox2.Value = Cells(no_ligne, 2).Value
TextBox3.Value = Cells(no_ligne, 3).Value
TextBox4.Value = Cells(no_ligne, 4).Value
TextBox5.Value = Cells(no_ligne, 5).Value
TextBox6.Value = Cells(no_ligne, 6).Value
TextBox7.Value = Cells(no_ligne, 7).Value
TextBox8.Value = Cells(no_ligne, 8).Value
TextBox9.Value = Cells(no_ligne, 9).Value
TextBox10.Value = Cells(no_ligne, 10).Value
TextBox11.Value = Cells(no_ligne, 11).Value
TextBox12.Value = Cells(no_ligne, 12).Value
TextBox13.Value = Cells(no_ligne, 13).Value
TextBox14.Value = Cells(no_ligne, 14).Value
TextBox15.Value = Cells(no_ligne, 15).Value
TextBox16.Value = Cells(no_ligne, 16).Value
TextBox17.Value = Cells(no_ligne, 17).Value
TextBox18.Value = Cells(no_ligne, 18).Value
TextBox19.Value = Cells(no_ligne, 19).Value
TextBox20.Value = Cells(no_ligne, 20).Value
TextBox21.Value = Cells(no_ligne, 21).Value
TextBox22.Value = Cells(no_ligne, 22).Value
TextBox23.Value = Cells(no_ligne, 23).Value
TextBox24.Value = Cells(no_ligne, 24).Value
TextBox25.Value = Cells(no_ligne, 25).Value
TextBox26.Value = Cells(no_ligne, 26).Value
TextBox27.Value = Cells(no_ligne, 27).Value
TextBox28.Value = Cells(no_ligne, 28).Value
End Sub