2 ITEMS in Cond Format

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have conditional formatting on a field that works ...
control source on a txt box =[Status]
I have it set "field is equal to" "ACTIVE"
and this works but I actually have 2 values that should have the same
formatting and I have already used up the other 2 formats.
Is it possible to have 2 items in this conditional formatting field and what
would the code be if I changed it to expression? Or how do I put 2 into the
same field?
I tried the following and none worked: (because I don't know VBA well enough
duh!)
"ACTIVE" or "MOVED"
"ACTIVE", or "MOVED"
"ACTIVE"; or "MOVED"
("ACTIVE") or ("MOVED")

Thanks...AGAIN!
 
I have conditional formatting on a field that works ...
control source on a txt box =[Status]
I have it set "field is equal to" "ACTIVE"
and this works but I actually have 2 values that should have the same
formatting and I have already used up the other 2 formats.
Is it possible to have 2 items in this conditional formatting field and what
would the code be if I changed it to expression? Or how do I put 2 into the
same field?
I tried the following and none worked: (because I don't know VBA well enough
duh!)
"ACTIVE" or "MOVED"
"ACTIVE", or "MOVED"
"ACTIVE"; or "MOVED"
("ACTIVE") or ("MOVED")

Thanks...AGAIN!

Ratner than "Field is equal to" use "Expression", and set the
expression to

[Status] IN ("Active", "Moved")

John W. Vinson[MVP]
 
Thanks again John!
John Vinson said:
I have conditional formatting on a field that works ...
control source on a txt box =[Status]
I have it set "field is equal to" "ACTIVE"
and this works but I actually have 2 values that should have the same
formatting and I have already used up the other 2 formats.
Is it possible to have 2 items in this conditional formatting field and what
would the code be if I changed it to expression? Or how do I put 2 into the
same field?
I tried the following and none worked: (because I don't know VBA well enough
duh!)
"ACTIVE" or "MOVED"
"ACTIVE", or "MOVED"
"ACTIVE"; or "MOVED"
("ACTIVE") or ("MOVED")

Thanks...AGAIN!

Ratner than "Field is equal to" use "Expression", and set the
expression to

[Status] IN ("Active", "Moved")

John W. Vinson[MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top