Changing BackColor of a textbox using Event Procedures

F

fnewell

I am trying to change the BackColor of a textbox using Event Procedures.
Example: If Increase is >= to 2000 then Increase.BackColor =255
Else: Increase.BackColor = 12632256.

Thanks
 
M

Marshall Barton

fnewell said:
I am trying to change the BackColor of a textbox using Event Procedures.
Example: If Increase is >= to 2000 then Increase.BackColor =255
Else: Increase.BackColor = 12632256.


If Increase is >= to 2000 then
Increase.BackColor =255
Else
Increase.BackColor = 12632256
End If

But isn't this a job for Conditional Formatting (Format
menu)?
 
Top