Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

additional conditional formatting

Status
Not open for further replies.

yourdeployedson

Programmer
Feb 8, 2006
11
US
I have a form that needs conditional formatting for more than three separate results. The background colors for the boxes need to be as such.

CQ needs to be Orange
DFAC needs to be red
Day Off needs to be grey
LNE needs to be yellow
R&R needs to be purple
"null" needs to be white

Obviously i have more than three conditional formats that need to be introduced to the program. The problem is that MS Access doesn't allow more than three. Is there some way for me to use vba coding to conditionally format these boxes with all the needed information i have?
 
Have you tried to play with the FormatConditions collection of the TextBox object ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
When in VBE (Ctrl+G) feel free to play with the F2 and F1 keys.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top