![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Posts: 3,065
|
Hi guys a good one wonder if you have any cool ideas on:
Say Col a is names john, chris, ivan, mark, barrie, aladin, mudface and so on.. but poss 3 jack, i need to highlight all different colours and all 3 jack or what ever the same colour whereever they are in that col. Trick is with a twist, no 2 diff nems must be the same colour??? Ermm any ideas...... also this must work with dates input by crtl+: Cheers guys for looking....
__________________
Free Excel based Web Toolbar available here. Jack in the UK J & R Excel Solutions "making Excel work for you" |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
|
I think this is what you want, I took your example data and copied it a few times down column 1.
The code assumes the first value is in A1. The "iNotBlack" variable can be set to anything, except 1. 1 is the colour code for black. I don't really like the colour code 8 throws up, so you might want to mess about with this variable to get pleasing colours.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|