Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hey Guys,
I'm looping through some cells which have conditional formatting applied to make then green, red or grey. The colours all represent the same thing (i.e. green = yes), but the criteria that applies the format is not constant throughout. To avoid this I attempted to use the interior colorindex to return the status of the cell, but the colorindex property seems to ignore the colours resulting from the conditional formattng. Does anyone know how to return the interior colour of a cell that results from conditional formatting without using the value of the cell? Many thanks in advance. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Quite involved code but see Chip Pearson's site.
http://www.cpearson.com/excel/CFColors.htm Gord Dibben MS Excel MVP On Thu, 20 Aug 2009 15:07:01 -0700, Libby wrote: Hey Guys, I'm looping through some cells which have conditional formatting applied to make then green, red or grey. The colours all represent the same thing (i.e. green = yes), but the criteria that applies the format is not constant throughout. To avoid this I attempted to use the interior colorindex to return the status of the cell, but the colorindex property seems to ignore the colours resulting from the conditional formattng. Does anyone know how to return the interior colour of a cell that results from conditional formatting without using the value of the cell? Many thanks in advance. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Gord - I have looked at Chip's code. I was kinda hoping there would
be a simpler solution... "Gord Dibben" wrote: Quite involved code but see Chip Pearson's site. http://www.cpearson.com/excel/CFColors.htm Gord Dibben MS Excel MVP On Thu, 20 Aug 2009 15:07:01 -0700, Libby wrote: Hey Guys, I'm looping through some cells which have conditional formatting applied to make then green, red or grey. The colours all represent the same thing (i.e. green = yes), but the criteria that applies the format is not constant throughout. To avoid this I attempted to use the interior colorindex to return the status of the cell, but the colorindex property seems to ignore the colours resulting from the conditional formattng. Does anyone know how to return the interior colour of a cell that results from conditional formatting without using the value of the cell? Many thanks in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional Formatting and Interior.ColorIndex | Excel Programming | |||
Conditional Formatting and Interior.ColorIndex | Excel Programming | |||
Conditional formatting to change ColorIndex? | Excel Programming | |||
interior.colorindex used with conditional formatting | Excel Worksheet Functions | |||
conditional formatting and interior.colorindex | Excel Programming |