Murray Brown
asked on
Excel VBA Highlighting cells on sheet change
Hi
I use the following code to highlight cells when values are changed. I also highlight
the last cell in that row to show that it has been changed
It works fine for one cell but when I copy the changed value
down with the mouse the cell that changes changes color but
the cell at the end of the row doesn't change color
Private Sub Worksheet_Change(ByVal Target As Range)
Application.Cells(Target.R ow, Target.Column).Interior.Co lor = 65535
Application.Cells(Target.R ow, 16384).Interior.Color = 65535
End Sub
I use the following code to highlight cells when values are changed. I also highlight
the last cell in that row to show that it has been changed
It works fine for one cell but when I copy the changed value
down with the mouse the cell that changes changes color but
the cell at the end of the row doesn't change color
Private Sub Worksheet_Change(ByVal Target As Range)
Application.Cells(Target.R
Application.Cells(Target.R
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER