If I want to make the font color red (forecolor) red if the value of the text box is a negative number, what's the VB Code?
I tried If text.value < 0 Then
text.forecolor = vbRed
. . . that makes the whole box highlight red. Is there a way to make JUST the font turn a color?
If so, what's the correct way to write it, since "red" and #ED1C24 don't work?
I tried If text.value < 0 Then
text.forecolor = vbRed
. . . that makes the whole box highlight red. Is there a way to make JUST the font turn a color?
If so, what's the correct way to write it, since "red" and #ED1C24 don't work?