Checkbox Colour In a Form

N

Nick

Can anyone tell me how to change the checkbox label text
colour, to red, if the checkbox is true? This needs to
work both ways so that if you un-check the box, the text
reverts back.

Thanks in advance.
Nick
 
A

Allen Browne

You can't do this with a label, but you could with a check box.

Right-click the label, and choose Change to | Text box.

Type the old caption into the ControlSource, e.g.:
="MyYesNoField"

Choose Conditional Formatting on the Format menu.
Set Condition 1 to:
Expression Is [MyYesNo]=True
and choose the color you want.

To make the text box look like a label, set its Enabled property to No and
Locked to Yes.
 

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