Sub AllsTextBox_change(TbX As MSForms.TextBox)
Select Case TbX.Value
Case Is = "n"
TbX.BackColor = RGB(96, 96, 96) 'gris
Case Is = "o"
TbX.BackColor = RGB(255, 255, 64) 'jaune
Case Is = "x"
TbX.BackColor = RGB(64, 224, 64) ' vert
End Select
End Sub
Private Sub TextBox10_Change(): AllsTextBox_change TextBox10: End Sub
Private Sub TextBox11_Change(): AllsTextBox_change TextBox11: End Sub
Private Sub TextBox12_Change(): AllsTextBox_change TextBox12: End Sub
Private Sub TextBox13_Change(): AllsTextBox_change TextBox13: End Sub
Private Sub TextBox14_Change(): AllsTextBox_change TextBox11: End Sub
Private Sub TextBox15_Change(): AllsTextBox_change TextBox15: End Sub
Private Sub TextBox16_Change(): AllsTextBox_change TextBox16: End Sub
Private Sub TextBox17_Change(): AllsTextBox_change TextBox17: End Sub
Private Sub TextBox18_Change(): AllsTextBox_change TextBox18: End Sub
Private Sub TextBox19_Change(): AllsTextBox_change TextBox19: End Sub
Private Sub TextBox22_Change(): AllsTextBox_change TextBox22: End Sub
Private Sub TextBox23_Change(): AllsTextBox_change TextBox23: End Sub
Private Sub TextBox24_Change(): AllsTextBox_change TextBox24: End Sub
Private Sub TextBox25_Change(): AllsTextBox_change TextBox25: End Sub
Private Sub TextBox4_Change(): AllsTextBox_change TextBox4: End Sub
Private Sub TextBox5_Change(): AllsTextBox_change TextBox5: End Sub
Private Sub TextBox6_Change(): AllsTextBox_change TextBox6: End Sub
Private Sub TextBox9_Change(): AllsTextBox_change TextBox9: End Sub
Private Sub TextBox8_Change()
Select Case Me.TextBox8.Value
Case Is = ""
Me.TextBox8.BackColor = RGB(96, 96, 96) 'gris
End Select
End Sub