Make field background yellow if the field contains []

In a datasheet view form, how can I make a field background color yellow if the field contains []  (double brackets)
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

SteveL13Author Commented:
So to further explain, if the field read "Some body [] did something"   -  The I want the field background to be yellow.  So anytime [] appears in the cell I want the background to be yellow.
Paul MacDonaldDirector, Information SystemsCommented:
Here are instructions from Microsoft Support that describe conditional formatting in Access 2007.  Here is a similar set of instructions that relate to Access 2010, 2013 and 2016.  One of them may work for you.
SteveL13Author Commented:
This all seems to work with numbers.  But I am working with text.
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

Are you actually looking for the characters []?  Did you try the Like operator?
SteveL13Author Commented:
Yes. I'm looking for those two characters right next to each other. I don't know how to use Like in VBA coding.
SteveL13Author Commented:
Or in conditional formatting.
Sorry, you need to use Instr()

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
Garfield SamuelsProject ManagerCommented:
You can try to select the field in the report and select conditional formatting.

On the conditional formatting dialog, select new rule.
Change "Field value is" to "Expression is"
Enter : <Fiels name> Contains "[]" : in the formula box
Set the formatting you want and OK to close the dialog.

That should do it.
SteveL13Author Commented:
Garfield, you suggestion did not work.
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.