@ snb,
NB these 3 lines of code replace both your macros.
That implies that Hidden Ranges don't have an Interior, but it is still available for when they are visible.
Or something like that.
@ Sandler, selecting something does not, in itself, cause any following code to refer to or act upon the selection.
OTOH:
Sub HideRows()
Dim Cel As Range
With Sheets("Revenue Sheet")
For Each Cel In .Range("D1:D2000") 'note dot before Range
If Cel.Interior.Color = RGB(0, 176, 240) Then Cel.EntireRow.Hidden = True
Next Rw
End With
End Sub
Or, shorter by two lines:
For Each Cel In Sheets("Revenue Sheet").Range("D1:D2000")
And finally
Dim LR as Long
With Sheets("Revenue Sheet")
LR = .Cells(Rows.Count, "D").End(xlUp).Row 'note dot before Cells
For Each Cel In .Range("D1:D" & LR)
'
'
'