I have a conditional format which is working an filling the back ground with the right color in the cell, but when i go to inpect the cell with format cell and click on fill it shows that there is no Fill any idea why this would be.
is there away that i can count the color that the consitional format has set using VBA.
currently using tyhe code below and it fails at the color index line.
Function CountRed(MyRange As Range)
CountRed = 0
For Each cell In MyRange
ColorIndex = cell.DisplayFormat.Interior.ColorIndex
If ColorIndex = 43 Then
CountRed = CountRed + 1
End If
Next cell
test = 0
End Function