edit - file test.xlsm attached
I'm trying to change label text colors dynamically in a user form based on the value of a checkbox.
Objects:
checkbox: chkTest
label: lblTest
textbox: txtTest
I set label's forecolor in the control's property to red (H000000FF) then run the following code:
On initialization of the form, the label's text is properly red.
But on chkbox click, the text turns black once and never changes again. The txtbox updates its value properly.
What am I doing wrong?
What I want to do is have a large section of one of my userforms to activate and change color if a particular checkbox is true. If False, then the controls are disabled and are greyed out.
Thanks!
Bookmarks