Question : Conditional formatting for text box?

Is there a way I can apply conditional formatting to text boxes in excel?  I would like to change the fill colour of boxes based on their numeric values.  

e.g. if a box's value is >10 colour red, if it's < 7 colour yellow, < 5 colour green.

I've tried to use the below code (a simpler example identifying if the box is empty or not) but I can't get it to work. Where my text box is called "Link1":

Private Sub Link1_Change()
If Link1.Value = "" Then Link1.BackColor = RGB(0, 0, 0)
If Link1.Value <> "" Then Link1.BackColor = RGB(255, 0, 0)
End Sub

Is anyone able to help?

Thanks

Answer : Conditional formatting for text box?

The information that I have recommends against using local agents, and points to using ISA Lite, instead.

http://www.IBM.com/support/docview.wss?rs=3455&uid=swg24020502
Random Solutions  
 
programming4us programming4us