I have a series of controls that have conditional formatting on them for when a pressure reading is out of range. However, I have the feeling that the conditional formatting isn't really changing the .BackColor value of the the control. Before I go back and use vba script to create the conditional formatting, I want to make sure.
My questions is: Is there a way to evaluate the color of a control when it's changed by conditional formatting? I want to pop up a MsgBox when an entry is out of range based on the color of the control. I'd use the code below to evaluate for the color.
Code:
If ctl.BackColor = RGB(237, 28, 36) And IsNull(Me.CorrectiveActionTxt) Then
If I can't 'see' the color from a conditional format then so be it - although I'll wish I had checked on this prior to setting up my forms.
Thanks for the help.