that is why we are here, always lots of buts, LOL
i tidied up the code a bit, so here is what works:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Cells.Count > 1 Then Exit Sub
Dim x, y, z, a
x = Split(Target.Address, "$")
If x(1) <> "A" Then Exit Sub
y = x(2)
Application.ScreenUpdating = False
' Clear the color of all the cells
Target.EntireColumn.Interior.ColorIndex = 0
' Highlight the entire row and column that contain the active cell
Target.Interior.ColorIndex = 10
For z = y To 4 Step -7
Range(x(1) & z).Interior.ColorIndex = 10
Next z
Application.ScreenUpdating = True
End Sub
Bookmarks