Excel Highlight active cell with font color?

Private Sub Worksheet_Activate()
With Cells.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 95000
.TintAndShade = 0
.PatternTintAndShade = 0
End With

End Sub

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
End Sub
 
Back
Top