Hello,
I'm using the code below to apply conditional formatting with pictograms to a range of cells.
Now I want to check a pictogram in a cell. Whether is has a green or a red arrow or something like that. How can I accomplish that?
Any help would be greatly apprecated.
Saskia
I'm using the code below to apply conditional formatting with pictograms to a range of cells.
Now I want to check a pictogram in a cell. Whether is has a green or a red arrow or something like that. How can I accomplish that?
Any help would be greatly apprecated.
Saskia
Code:
Range("G8:K14").Select
With Selection.FormatConditions(1).IconCriteria(2)
.Type = xlConditionValuePercent
.Value = 20
.Operator = 7
End With
With Selection.FormatConditions(1).IconCriteria(3)
.Type = xlConditionValuePercent
.Value = 40
.Operator = 7
End With
With Selection.FormatConditions(1).IconCriteria(4)
.Type = xlConditionValuePercent
.Value = 60
.Operator = 7
End With
With Selection.FormatConditions(1).IconCriteria(5)
.Type = xlConditionValuePercent
.Value = 80
.Operator = 7
End With