Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
When I use conditional format to highlight cells, I found that the
FormatConditions(1).Interior.ColorIndex were changed to the same number no matter if the cell is highlighted for not. So a cell with a yellow highlight and a cell that looks white both have FormatConditions(1).Interior.ColorIndex = 6. Why is that? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Because that is the condition being tested, not the result.
-- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "J@Y" wrote in message ... When I use conditional format to highlight cells, I found that the FormatConditions(1).Interior.ColorIndex were changed to the same number no matter if the cell is highlighted for not. So a cell with a yellow highlight and a cell that looks white both have FormatConditions(1).Interior.ColorIndex = 6. Why is that? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
How would you test the result?
"Bob Phillips" wrote: Because that is the condition being tested, not the result. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "J@Y" wrote in message ... When I use conditional format to highlight cells, I found that the FormatConditions(1).Interior.ColorIndex were changed to the same number no matter if the cell is highlighted for not. So a cell with a yellow highlight and a cell that looks white both have FormatConditions(1).Interior.ColorIndex = 6. Why is that? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You would see it if it succeeded because the colour changes.
-- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "J@Y" wrote in message ... How would you test the result? "Bob Phillips" wrote: Because that is the condition being tested, not the result. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "J@Y" wrote in message ... When I use conditional format to highlight cells, I found that the FormatConditions(1).Interior.ColorIndex were changed to the same number no matter if the cell is highlighted for not. So a cell with a yellow highlight and a cell that looks white both have FormatConditions(1).Interior.ColorIndex = 6. Why is that? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I need to test the cell to see whether it is colored by conditional
formatting in VB. "Bob Phillips" wrote: You would see it if it succeeded because the colour changes. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "J@Y" wrote in message ... How would you test the result? "Bob Phillips" wrote: Because that is the condition being tested, not the result. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "J@Y" wrote in message ... When I use conditional format to highlight cells, I found that the FormatConditions(1).Interior.ColorIndex were changed to the same number no matter if the cell is highlighted for not. So a cell with a yellow highlight and a cell that looks white both have FormatConditions(1).Interior.ColorIndex = 6. Why is that? |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
That's very different, and very difficult. See
http://www.xldynamic.com/source/xld.CFConditions.html -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "J@Y" wrote in message ... I need to test the cell to see whether it is colored by conditional formatting in VB. "Bob Phillips" wrote: You would see it if it succeeded because the colour changes. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "J@Y" wrote in message ... How would you test the result? "Bob Phillips" wrote: Because that is the condition being tested, not the result. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "J@Y" wrote in message ... When I use conditional format to highlight cells, I found that the FormatConditions(1).Interior.ColorIndex were changed to the same number no matter if the cell is highlighted for not. So a cell with a yellow highlight and a cell that looks white both have FormatConditions(1).Interior.ColorIndex = 6. Why is that? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do you use conditional format to change a bar color on a char. | Charts and Charting in Excel | |||
Conditional Format: Expired dates wanting cell to change color | Excel Discussion (Misc queries) | |||
Conditional Format to change entire row based on one cells data | Excel Discussion (Misc queries) | |||
How do I use conditional formatting to change subtotals row format | Excel Worksheet Functions | |||
Conditional format (word change) | Excel Worksheet Functions |