hi, i have the vba below who alow me to hightlight changes if the orginial cell value has changed. the problem is that it's stay highlight week after week and the goal is to know if there was a change last week. So the ideal is to insert a vba that would say hightlight if the cell value has changed between 7 days ago and today. what changes do I need to do?
p.s: i work with excel 2010 thanks
Private Sub Worksheet_Change(ByVal Target As Range)
Const WS_RANGE As String = "F10:F309"
On Error GoTo ws_exit:
Application.EnableEvents = False
If Not Intersect(Target, Me.Range(WS_RANGE)) Is Nothing Then
With Target
.Interior.ColorIndex = 6
End With
End If
ws_exit:
Application.EnableEvents = True
End Sub
Bookmarks