Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default ListBoxes - Different Elements, different colours.

Greetings I'm just wondering if anyone can help me out with an issue on List
Boxes.

Here is an example

Billy
Timmy
Bob
Shane

These are 4 different elements within the List Box, If Timmy has recieved a
low mark I want the text or simply the background of that element only, to
turn an orange. Is customisation of the elements possible like this?

Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default ListBoxes - Different Elements, different colours.

Take a look at this. Does this do what you want?
http://www.contextures.com/xlCondFormat01.html

As far as I know, you can't apply CF to a ListBox, but someone may be able
to offer you VBA code that would actually do that.

Anyway, hope that helps.

Regards,
Ryan--
--
RyGuy


"NateBuckley" wrote:

Greetings I'm just wondering if anyone can help me out with an issue on List
Boxes.

Here is an example

Billy
Timmy
Bob
Shane

These are 4 different elements within the List Box, If Timmy has recieved a
low mark I want the text or simply the background of that element only, to
turn an orange. Is customisation of the elements possible like this?

Thank you in advance.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default ListBoxes - Different Elements, different colours.

There's nothing built in but Andy Pope shows a way to do it, clever stuff!

http://www.andypope.info/vba/colourdropdown.htm

Regards,
Peter T

"NateBuckley" wrote in message
...
Greetings I'm just wondering if anyone can help me out with an issue on

List
Boxes.

Here is an example

Billy
Timmy
Bob
Shane

These are 4 different elements within the List Box, If Timmy has recieved

a
low mark I want the text or simply the background of that element only, to
turn an orange. Is customisation of the elements possible like this?

Thank you in advance.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I customise colours used in charts and keep those colours. LJ Charts and Charting in Excel 3 May 20th 10 01:50 PM
How to save one of the MORE COLOURS in the THEME COLOURS? Wulfy Excel Discussion (Misc queries) 0 August 18th 09 10:25 AM
identifying colours of existing elements / series Boris Charts and Charting in Excel 0 August 27th 08 01:45 PM
Excel 2003 font colours and cell colours bretta Excel Discussion (Misc queries) 1 April 17th 05 03:45 AM
listboxes [email protected] Excel Programming 2 March 30th 05 06:41 PM


All times are GMT +1. The time now is 10:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"