I have a table with many data and I would like to have the CURRENT cell or row colored for an easier view.
The below macro is working well but it deactivates both the borders and colors.
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Cells.Borders().LineStyle = xlNone
Cells.Interior.ColorIndex = 0
ActiveCell.EntireRow.BorderAround xlDash, ColorIndex:=5
ActiveCell.EntireRow.Interior.ColorIndex = 36
End Sub
any ideas how to keep the borders and colors? are there any other methods?
Thanks!!!
Bookmarks