Re: Watch cell?
B.W.B,
In order to accomplish what you want you should put this code in the worksheet module and create a new worksheet called 'Changes'. It will create a record of changes to the cell you want to track (in this case A1):
Code
Dim myPrevVal As String
Private Sub Worksheet_Change(ByVal Target As Range)
Dim lr As Long
Dim ws As Worksheet
Set ws = Sheets("Changes")
If Target.Address = "$A$1" Then
lr = ws.Cells(Rows.Count, "A").End(xlUp).Row
ws.Range("A" & lr + 1) = myPrevVal 'Previous Value
ws.Range("B" & lr + 1) = Target.Value 'Current Cell Value
ws.Range("C" & lr + 1) = Format(Now(), "MM/DD/YYYY HH:MM AMPM") 'Timestamp of change
End If
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
myPrevVal = Target.Value
End Sub
Display More
Example of resulting Values:
[TABLE="width: 315"]
Previous Value
[/td]New Value
[/td]Date Changed
[/td]MyFirstVal
[/td]MyNewVal
[/td]
[TD="align: right"]6/10/16 11:57 PM[/TD]
MyNewVal
[/td]NewerValue
[/td]
[TD="align: right"]6/10/16 11:58 PM[/TD]
NewerValue
[/td]GetThePicture
[/td]
[TD="align: right"]6/11/16 12:01 AM[/TD]
[/TABLE]