hey gurus and experts, how can I modify this code to highlight the entire row ?
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
Static OldRange As Range
On Error Resume Next
Target.Interior.ColorIndex = 6
OldRange.Interior.ColorIndex = xlColorIndexNone
Set OldRange = Target
End Sub
Thanks in advance.
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
Static OldRange As Range
On Error Resume Next
Target.Interior.ColorIndex = 6
OldRange.Interior.ColorIndex = xlColorIndexNone
Set OldRange = Target
End Sub
Thanks in advance.
[tt]
"The only ideas that will work for you are the ones you put to work."
[/tt]
"The only ideas that will work for you are the ones you put to work."
[/tt]