Patrick O'Dea
asked on
Quickie ! Making a variable colored label...
Hi again,
see this line below.
Me.ReportedByID.BackColor = vbRed
Instead of vbRed I want to be able to have a variable.
So, for instance, I want to be able to set of fields to a different colour without have to amend multiple fields. How do I do this??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I prefer to use conditional formatting.
Th OP is asking about a label.
I guess it could be changed it to a textbox with properties to make it look like a label in order to use CF.
I guess it could be changed it to a textbox with properties to make it look like a label in order to use CF.
Was not sure, the title says "label", but then in the text, the OP used fields. Thought I'd throw our that option too.
Dale
Dale
Yeah... either way, its a good option.
ASKER
Thanks, that works nicely.
(I DID mean "label" .... excuse my lack of correct terminology ... I am a victim of being self taught by a lazy teacher !!)
(I DID mean "label" .... excuse my lack of correct terminology ... I am a victim of being self taught by a lazy teacher !!)