Conditional formatting in a datasheet - >3 conditions

I've been using my app for several months, happily applying conditional formatting to a column in a datasheet: 3 conditions and a default (no format).

I now have a new condition. :(  I've been poking around looking for code to accomodate the additional condition, or more - for growth.  No luck so far.

Is it possible to work around the 3-condition limitation in Access?  Any examples?


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi markp99,
No, its not possible in a continuous form or datasheet.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I'm told it will be included in A2009 when it is released in 2012;-)
Yes, it is. Take a look at:, Report Form Tricks, More Than 4 Conditional Formats
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

markp99Author Commented:

I took a look.  It's a bit kludgy for my applicaiton, and actually did not seem to work properly on my machine here at work.  

Thanks for the link, there were a couple other interesting tid bits there.

markp99Author Commented:
Dang it!

I'm more than slightly bummed I cannot provide the needed formatting to my users.  Now I need to think a bit harder to modify the use model and review/validation process in my app which was facilitated by conditional formatting.

Oh well, time to do some 'splaining to my boss!
You cannot have more than 3(+default) conditions operating at any time.
It is possible to programmatically change the 3 conditions as you move from record to record but there will still be only 3 current conditions and they will apply to all visible records.
Therefore for a single-form view it is possible to create the illusion of more than 3 conditions by changing the rules as you move from record to record.
But for a continuous form or a datasheet, whatever 3(or 4 with the default) rules are in force for the current record will be applied to all other visible records.


It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.