PC Review


Reply
Thread Tools Rate Thread

Add text change row colour

 
 
=?Utf-8?B?U3Vl?=
Guest
Posts: n/a
 
      15th Jul 2007
Hi

Want to make this simple for my office junior. In a drop down combo box on a
userform we have about 10 items listed, two of them are "FREE" & "CAR" on
selection they are entered on "Sheet1" column "J3:J400 depending on which row
we are up to on the sheet. On selecting "FREE or "CAR" it would help her, if
the whole of the text on the row from Column "A" thru Column "O" changed to
the colour Red. Is this possible as perhaps "Free & Car" will only be used
about 30 times in the whole of 400 rows that are used - perhaps a little
macro??

--
Many Thanks

Sue
 
Reply With Quote
 
 
 
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      15th Jul 2007
> Want to make this simple for my office junior. In a drop down combo box on
> a
> userform we have about 10 items listed, two of them are "FREE" & "CAR" on
> selection they are entered on "Sheet1" column "J3:J400 depending on which
> row
> we are up to on the sheet. On selecting "FREE or "CAR" it would help her,
> if
> the whole of the text on the row from Column "A" thru Column "O" changed
> to
> the colour Red. Is this possible as perhaps "Free & Car" will only be used
> about 30 times in the whole of 400 rows that are used - perhaps a little
> macro??


What about Conditional Formatting? Select ALL the rows (not just the J
column) from 3 to 400, click on Format/ConditionFormatting in Excel's menu,
select "Formula Is" in the first ComboBox and paste this formula into the
second field (it will appear after you select "Formula Is")...

=NOT(ISERR(SEARCH("~*"&$J3&"~*","*FREE*CAR*")))

Next, click the Format button, click the Patterns tab and choose the color
you want to use to highlight the row. OK your way out of the dialog box.

Whenever "FREE" or "CAR" (either in any combination of upper and/or lower
case letters) appears in J3 through J4, the entire row will be highlighted
with the color that you chose.

Rick

 
Reply With Quote
 
=?Utf-8?B?U3Vl?=
Guest
Posts: n/a
 
      15th Jul 2007
Hi Rick

Thank you!!!

I would never have found this >>
=NOT(ISERR(SEARCH("~*"&$J3&"~*","*FREE*CAR*")))
in a whole year of searching, my working life just got a hell of a lot
easier, I can now scroll down the sheet and at a glance see which customer is
on a freebie, and junior won't miss any rows ever again.

--
Many Thanks

Sue


"Rick Rothstein (MVP - VB)" wrote:

> > Want to make this simple for my office junior. In a drop down combo box on
> > a
> > userform we have about 10 items listed, two of them are "FREE" & "CAR" on
> > selection they are entered on "Sheet1" column "J3:J400 depending on which
> > row
> > we are up to on the sheet. On selecting "FREE or "CAR" it would help her,
> > if
> > the whole of the text on the row from Column "A" thru Column "O" changed
> > to
> > the colour Red. Is this possible as perhaps "Free & Car" will only be used
> > about 30 times in the whole of 400 rows that are used - perhaps a little
> > macro??

>
> What about Conditional Formatting? Select ALL the rows (not just the J
> column) from 3 to 400, click on Format/ConditionFormatting in Excel's menu,
> select "Formula Is" in the first ComboBox and paste this formula into the
> second field (it will appear after you select "Formula Is")...
>
> =NOT(ISERR(SEARCH("~*"&$J3&"~*","*FREE*CAR*")))
>
> Next, click the Format button, click the Patterns tab and choose the color
> you want to use to highlight the row. OK your way out of the dialog box.
>
> Whenever "FREE" or "CAR" (either in any combination of upper and/or lower
> case letters) appears in J3 through J4, the entire row will be highlighted
> with the color that you chose.
>
> Rick
>
>

 
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
Change text colour SimoninParis Microsoft Powerpoint 1 2nd Mar 2009 04:39 PM
can't change text colour Fiona Microsoft Word Document Management 1 18th Jan 2009 02:02 PM
Change text colour Shaijuzacharia@gmail.com Microsoft Excel Charting 1 24th Dec 2007 09:04 AM
change text colour and size in text form field =?Utf-8?B?RGFuYQ==?= Microsoft Word Document Management 0 7th Apr 2006 10:29 PM
change text colour Jeff Microsoft Excel New Users 3 15th Feb 2006 05:53 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:46 AM.