G
Guest
I have a subform with the text field "facility". If the text within this
text field = "shareholder", I need it to be highlighted and bolded. I tried
conditional formatting but it doesn't work the way I want it to. (The field
is bolded and highlighted only after I let go of the scroll bar. I need it
to always be bolded and highlighted.) I tried doing this programmatically in
the after update event of the facility textbox, but it's not working.
Private Sub Facility_AfterUpdate()
If Me.Facility = "SHAREHOLDER" Then
Me.Facility.BackColor = 16777215
Me.Facility.FontWeight = Bold
End If
End Sub
Thanks,
text field = "shareholder", I need it to be highlighted and bolded. I tried
conditional formatting but it doesn't work the way I want it to. (The field
is bolded and highlighted only after I let go of the scroll bar. I need it
to always be bolded and highlighted.) I tried doing this programmatically in
the after update event of the facility textbox, but it's not working.
Private Sub Facility_AfterUpdate()
If Me.Facility = "SHAREHOLDER" Then
Me.Facility.BackColor = 16777215
Me.Facility.FontWeight = Bold
End If
End Sub
Thanks,