chaelie2015
XLDnaute Accro
Bonjour forum
dans mon USF j'ai ce code
je souhaite colorer en vert (par exemple) les TextBox si la valeur sup a 30
Salutations
dans mon USF j'ai ce code
Code:
Private Sub ComboBox1_Change()
If ComboBox1.ListIndex = -1 Then Exit Sub
Me.TextBox1.Value = Range("liste!G" & ComboBox1.ListIndex + 3) & " Jour(s)"
Me.TextBox2.Value = Range("liste!H" & ComboBox1.ListIndex + 3) & " Jour(s)"
Me.TextBox3.Value = Range("liste!I" & ComboBox1.ListIndex + 3) & " Jour(s)"
Me.TextBox4.Value = Range("liste!J" & ComboBox1.ListIndex + 3) & " Jour(s)"
Me.TextBox5.Value = Range("liste!K" & ComboBox1.ListIndex + 3) & " Jour(s)"
End Sub
Salutations
Dernière édition: