Change Color In a Text Box

V

Vance

I have a text box that I would like the background color to change if the
value of the text box is greater than XXXXX, where XXXXX is an integer.

Thanks in advance
 
M

MikeJohnB

With the form in design view, select the text box, select formating,
Conditional Formating, in the first option set to "Field Value is", Next
Cell, "Greater Than" enter your "integer" in the right hand box. Set the back
colour to the colour you want.

Without Quotes
 
M

Mrs. Ugh

Assuming you are in a form, in design view click on the text box and select
Format/Conditional Formatting. Enter the info in the pop-up window. If you
need to do a calculation first, or want the color of a different field to
change, use an If statement in the After Update event of the driving field.
Jill
 
V

Vance

Worked perfectly. Thank You for the help.

MikeJohnB said:
With the form in design view, select the text box, select formating,
Conditional Formating, in the first option set to "Field Value is", Next
Cell, "Greater Than" enter your "integer" in the right hand box. Set the back
colour to the colour you want.

Without Quotes
--
Advice to Posters.
Check your post for replies or request for more information.
Consider providing some feed back to the response you have recieved.
Kindest Regards Mike B
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top