Re : Problème sur Userform, liste deroulante, mise en forme..... RESOLU
Oup's, j'ai changer ceci dans le code du BT VALIDER et il ne marche plus maintenant .
Private Sub CmbValider_Click()
With Sheets("Blanchisserie")
.Cells(16, 17) = Sheets("Regles").Range("I5")
.Cells(16, 18) = Me.ComboDoseur
.Cells(24, 23) = Me.TextBox11
.Cells(26, 23) = Me.TextBox12
.Cells(28, 23) = Me.TextBox13
.Cells(30, 23) = Me.TextBox14
.Cells(32, 23) = Me.TextBox15
.Cells(34, 23) = Me.TextBox16
.Cells(36, 23) = Me.TextBox17
.Cells(38, 23) = Me.TextBox18
.Cells(40, 23) = Me.TextBox19
If Me.ComboExigence = "En attente" Then
.Cells(16, 23) = "Installation en attente"
Else
.Cells(16, 23) = ""
If Me.ComboExigence = "Urgente" Then
.Cells(16, 23) = "Installation Urgente"
Else
.Cells(16, 23) = ""
If Me.ComboInstallation = "Oui" Then
.Cells(18, 16) = "Attention, installation déportée"
Else
.Cells(18, 16) = ""
End If
If Me.ComboDecontaminant = "Automatique" Then
.Cells(20, 16) = "Attention, décontamination automatique"
Else
.Cells(20, 16) = ""
End If
If Me.ComboGoulotte = "Oui" Then
.Cells(22, 16) = "Attention prévoir goulotte"
Else
.Cells(22, 16) = ""
End If
For I = 2 To 18 Step 2
If Me.Controls("TextBox" & I / 2).Visible = True Then
.Cells(22 + I, 18) = Me.Controls("TextBox" & I / 2)
Else
.Cells(22 + I, 18) = ""
End If
Next
End With
Unload Me
End Sub