Gliffix101
Board Regular
- Joined
- Apr 1, 2014
- Messages
- 77
Hello,
I'm attempting to add conditional formatting based on a value and then filter on all cells NOT conditional formatted. I'm getting hung up on the .FormatConditions.Add line. Can someone take a look and let me know what I'm missing?
I'm attempting to add conditional formatting based on a value and then filter on all cells NOT conditional formatted. I'm getting hung up on the .FormatConditions.Add line. Can someone take a look and let me know what I'm missing?
Code:
With Columns("AI:AI")
.FormatConditions.Add Type:=xlExpression, Criteria1:=Array("Initiated", "Outstanding", "Requested", "No Tracking Item Created")
With .FormatConditions(.FormatConditions.Count)
.SetFirstPriority
With .Interior
.Color = RGB(255, 217, 102)
End With
StopIfTrue = False
End With
End With
Rng.AutoFilter Field:=35, Criteria1:=RGB(255, 217, 102), Operator:=xlFilterNoFill