Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Application.ScreenUpdating = False
With Cells.CurrentRegion
.Interior.ColorIndex = 0
.Font.Bold = False
.Borders.Color = 0
End With
If IsEmpty(Target) Then Exit Sub
With Target
.Interior.ColorIndex = 7
.Font.Bold = True
.Borders.Color = 44
End With
Application.ScreenUpdating = True
End Sub
With Cells.CurrentRegion
With Cells
Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Application.ScreenUpdating = False
With Cells
.Interior.ColorIndex = 0
.Font.Bold = False
End With
If IsEmpty(Target) Then Exit Sub
With Target
.Interior.ColorIndex = 7
.Font.Bold = True
End With
Application.ScreenUpdating = True
End Sub