L
Legacy 452653
Guest
Hi,
I was sure that the following code below changes to Red if my Cell from E34 ( 1 ) and Cell (Q34) is ( 0 ) then please change my Textbox to "RED".
Can someone check please - cause it aint working.
Private Sub Textbox32_Change()
If Sheet5.Range("E34").Value > Sheet5.Range("Q34").Value Then
Me.Textbox32.Backcolor = vbRed
Else
Me.Textbox32.Backcolor = vbGreen
End If
End Sub
I was sure that the following code below changes to Red if my Cell from E34 ( 1 ) and Cell (Q34) is ( 0 ) then please change my Textbox to "RED".
Can someone check please - cause it aint working.
Private Sub Textbox32_Change()
If Sheet5.Range("E34").Value > Sheet5.Range("Q34").Value Then
Me.Textbox32.Backcolor = vbRed
Else
Me.Textbox32.Backcolor = vbGreen
End If
End Sub