1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
| Private Sub CExpositionAgent_Click()
With Worksheets("FICHEAGENT")
.Cells(2, 5).Value = ComboBox1.Text
.Cells(2, 9).Value = TextBox1.Text
.Cells(12, 1).Value = Label1.Caption
.Cells(12, 2).Value = Label2.Caption
.Cells(12, 3).Value = Label3.Caption
.Cells(12, 4).Value = Label4.Caption
.Cells(12, 5).Value = Label5.Caption
.Cells(12, 6).Value = Label6.Caption
.Cells(14, 1).Value = Label7.Caption
.Cells(14, 2).Value = Label8.Caption
.Cells(14, 3).Value = Label9.Caption
.Cells(14, 4).Value = Label10.Caption
.Cells(14, 5).Value = Label11.Caption
.Cells(14, 6).Value = Label12.Caption
.Cells(16, 1).Value = Label13.Caption
.Cells(16, 2).Value = Label14.Caption
.Cells(16, 3).Value = Label15.Caption
.Cells(16, 4).Value = Label16.Caption
.Cells(16, 5).Value = Label17.Caption
.Cells(16, 6).Value = Label18.Caption
.Cells(18, 1).Value = Label19.Caption
.Cells(18, 2).Value = Label20.Caption
.Cells(18, 3).Value = Label21.Caption
.Cells(18, 4).Value = Label22.Caption
.Cells(18, 5).Value = Label23.Caption
.Cells(18, 6).Value = Label24.Caption
.Cells(20, 1).Value = Label25.Caption
.Cells(20, 2).Value = Label26.Caption
.Cells(20, 3).Value = Label27.Caption
.Cells(20, 4).Value = Label28.Caption
.Cells(20, 5).Value = Label29.Caption
.Cells(16, 6).Value = Label29.Caption
' For i = 0 To ListBox3.ListCount - 1
' .Cells(5, i + 1) = Me.ListBox3.List(i)
' Next i
.Cells(5, 1) = Me.ListBox3.List(0)
.Cells(5, 2) = Me.ListBox3.List(1)
.Cells(5, 3) = Me.ListBox3.List(2)
.Cells(5, 4) = Me.ListBox3.List(3)
.Cells(5, 5) = Me.ListBox3.List(4)
.Cells(5, 6) = Me.ListBox3.List(5)
End With
Unload FIDENTIFICATION
Unload FSECTORISATION
Unload FMAÎTRISE
Unload FFICHEAGENT
Worksheets("FICHEAGENT").Select
End Sub |
Partager