bottom border color

  • Thread starter Thread starter rp
  • Start date Start date
R

rp

Hi all!,

i use this code to highlight the location of the active cell. my question is
instead of changing the interior color, can i just change the bottom border
color of the cell?

-------------------
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
Range("8:8").Interior.ColorIndex = 1
Range("8:8").Font.ColorIndex = 2
Range("c:c").Interior.ColorIndex = 0
Cells(8, Target.Column).Interior.ColorIndex = 15
Cells(8, Target.Column).Font.ColorIndex = 1
Cells(Target.Row, 3).Interior.ColorIndex = 15
End Sub
 
Back
Top