Excel Highlight active cell with font color?


Ad

Advertisements

Ad

Advertisements

Joined
Feb 21, 2018
Messages
216
Reaction score
86
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top