Private Sub Worksheet_SelectionChange(ByVal Target As Range)

    Dim 색상 As Long

    색상 = RGB(242, 242, 242)
    Cells.Interior.ColorIndex = xlNone

    With ActiveCell
    
        .EntireRow.Interior.Color = 색상
        .EntireColumn.Interior.Color = 색상
    
        .Interior.ColorIndex = 0
    
    End With

End Sub