Dim rng As Range Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Not rng Is Nothing Then rng.Interior.ColorIndex = xlColorIndexNone End If With Target Set rng = Union(.EntireRow, .EntireColumn) End With rng.Interior.ColorIndex = 8 End Sub