I've searched for examples and tried many different things, but it's just not working. This is a personal project I'm working on and would love some help to get it solved and running.
I've made a list and I want to go through a column (with an UNKNOWN set Range, items may be added or removed), and if the cell value says "Yes" I want it colored Green. If it says "No" I want it colored Red.
Here is what I have so far...
Option Explicit
Sub ChangeColor()
Dim cell As Range
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
If Range("C2").End(xlDown).Offset(2, 0).Value = "Yes" Then
cell.Interior.Color = RGB(0, 255, 0)
Else
cell.Interior.Color = RGB(255, 0, 0)
End If
Next
End Sub
Any help is greatly appreciated!

Thanks
If cell.Value = "Yes" Then cell.Interior.ColorIndex = 10
If cell.Value = "No" Then cell.Interior.ColorIndex = 3
to some thing like this
Select Case cell.Value Case Is = "Yes" 'here column H is hard coded Sheets("Sheet2").Cells(cell.Row, "H").Interior.ColorIndex = 10 Case Is = "No" 'Here column H is calculated by adding 6 columns to column "B" (2) to get to column 8 (H) Sheets("Sheet2").Cells(cell.Row, cell.Column + 6).Interior.ColorIndex = 3 Case Else End Select