Private Sub Worksheet_Activate()
Rows("5:65533").Interior.ColorIndex = xlNone
Dim rng As Range
Set rng = Sheet4.Range("B65536").End(xlUp)
c = rng.Value
Set rng = Nothing
For i = 5 To [A65536].End(xlUp).Row
If Sheet2.Cells(i, 2) = c Then
With Sheet2.Rows(i).Interior
.ColorIndex = 8
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
End With
End If
Next
End Sub