Excel 2007 conditional formatting - how to get cell color?

后端 未结 7 1299
别那么骄傲
别那么骄傲 2020-12-06 02:17

Let\'s assume i have the following range from (a1:c3)

  A B C
1 -1 1 1
2 -1 0 0
3  0 0 1

Now i have selected the following range, and forma

7条回答
  •  青春惊慌失措
    2020-12-06 02:44

    You need to refer the .FormatConditions(index that is active).Interior.ColorIndex to retrieve the conditional formatting color of a cell.

    You may refer to the below link for an example:

    http://www.xldynamic.com/source/xld.CFConditions.html#specific

提交回复
热议问题