PC Review


Reply
Thread Tools Rate Thread

2 ITEMS in Cond Format

 
 
=?Utf-8?B?bG12?=
Guest
Posts: n/a
 
      24th Dec 2006
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!

 
Reply With Quote
 
 
 
 
John Vinson
Guest
Posts: n/a
 
      24th Dec 2006
On Sat, 23 Dec 2006 16:11:01 -0800, lmv
<(E-Mail Removed)> wrote:

>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]
 
Reply With Quote
 
=?Utf-8?B?bG12?=
Guest
Posts: n/a
 
      24th Dec 2006
Thanks again John!
"John Vinson" wrote:

> On Sat, 23 Dec 2006 16:11:01 -0800, lmv
> <(E-Mail Removed)> wrote:
>
> >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]
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cond Format: =?Utf-8?B?ZnJhbmtsaW5idWtvc2tp?= Microsoft Access Forms 2 19th Feb 2007 06:22 PM
Whole Row Cond. Format =?Utf-8?B?UmlwcGVy?= Microsoft Excel Misc 2 6th Oct 2006 08:21 PM
cond format jim brown Microsoft Excel Worksheet Functions 2 20th Apr 2006 01:20 PM
cond format jon Microsoft Excel Misc 4 6th Jul 2004 10:24 AM
Cond format using MIN =?Utf-8?B?R2Vyb24=?= Microsoft Excel Worksheet Functions 3 4th May 2004 02:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:41 PM.