1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Private Sub UserForm_Initialize()
Worksheets("Rapportintervention").Select
Dim Rapportintervention(9, 1000000)
For cptr = 0 To 9
Rapportintervention(0, cptr) = Cells(cptr + 2, 6)
Rapportintervention(1, cptr) = Cells(cptr + 2, 7)
Rapportintervention(2, cptr) = Cells(cptr + 2, 15)
Rapportintervention(3, cptr) = Cells(cptr + 2, 10)
Rapportintervention(4, cptr) = Cells(cptr + 2, 14)
Rapportintervention(5, cptr) = Cells(cptr + 2, 8)
Rapportintervention(6, cptr) = Cells(cptr + 2, 9)
Rapportintervention(7, cptr) = Cells(cptr + 2, 12)
Rapportintervention(8, cptr) = Cells(cptr + 2, 11)
Next
ListBox1.Column() = Rapportintervention
End Sub |
Partager