1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| Private Sub ListBox1_Change()
derlig = Range("A65536").End(xlUp).Row
If ListBox1.ListIndex = -1 Then
Exit Sub
End If
lig = ListBox1.List(ListBox1.ListIndex, 1)
TextBox3.Value = Cells(lig, 1).Value
TextBox11.Value = Cells(lig, 2).Value
TextBox10.Value = Cells(lig, 3).Value
TextBox6.Value = Cells(lig, 4).Value
TextBox12.Value = Cells(lig, 5).Value
TextBox4.Value = Cells(lig, 6).Value
TextBox5.Value = Cells(lig, 7).Value
TextBox13.Value = Cells(lig, 8).Value
TextBox14.Value = Cells(lig, 9).Value
TextBox15.Value = Cells(lig, 13).Value
TextBox8.Value = Cells(lig, 11).Value
TextBox9.Value = Cells(lig, 12).Value
TextBox7.Value = Cells(lig, 10).Value
End Sub |
Partager