R
robert morris
I use the following code to highlight the last entry in a row.
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("F4:Y75")) Is Nothing Then
Range("F" & Target.Row & ":Y" & Target.Row).Cells. _
Interior.ColorIndex = xlColorIndexNone
Target.Cells.Interior.Color = vbYellow
End If
End Sub
Problem is, when a Row is inserted, the complete row is Yellow. I have no
Conditional Formating in use.
All I can figure is, it must be in the code.
Bob
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("F4:Y75")) Is Nothing Then
Range("F" & Target.Row & ":Y" & Target.Row).Cells. _
Interior.ColorIndex = xlColorIndexNone
Target.Cells.Interior.Color = vbYellow
End If
End Sub
Problem is, when a Row is inserted, the complete row is Yellow. I have no
Conditional Formating in use.
All I can figure is, it must be in the code.
Bob