1 2 3 4 5 6 7 8 9 10 11 12
| 'charger les données de la feuille complet
Public Sub ChargerDonneesDepuisComplet(wsComplet As Worksheet, patientRow As Long, ByRef frm As Object)
With frm
.txtmois.Value = wsComplet.Cells(patientRow, 1).Value
.txtan.Value = wsComplet.Cells(patientRow, 2).Value
.oburgent.Value = (wsComplet.Cells(patientRow, 3).Value = "Urgence")
.obelectif.Value = (wsComplet.Cells(patientRow, 3).Value = "Electif")
.obconsultohb.Value = (wsComplet.Cells(patientRow, 3).Value = "Consultation Hyperbare")
.obconsultplonge.Value = (wsComplet.Cells(patientRow, 3).Value = "Consultation Plongée")
.cmbstatus.Value = wsComplet.Cells(patientRow, 4).Value
.obambu.Value = (wsComplet.Cells(patientRow, 5).Value = "AMBU")
.obhosp.Value = (wsComplet.Cells(patientRow, 5).Value = "HOSP") |
Partager