I am currently using the following code to change a cell's color when the value in that cell changes,
Private Sub Worksheet_Change(ByVal Target As Range)
Target.Interior.ColorIndex = 6
End Sub
However, I want to be able to use the "UNDO" button to change the value back and clear the cell color.
Please advise!
Private Sub Worksheet_Change(ByVal Target As Range)
Target.Interior.ColorIndex = 6
End Sub
However, I want to be able to use the "UNDO" button to change the value back and clear the cell color.
Please advise!