Hello!
I found this code here-under in the archives of mrexcel.com and it works great.
The code basically records changing values in an excel cell.
Upon detecting a change in the specified cell value, this code records the new value in another cell, and basically keeps a log of changes.
I wish to add a 'date and time' stamp each time a new value is logged.
So basically I wish to have a log of the change in value and the time it happened.
Grateful for you suggestions please![Smile :) :)](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png)
Thank you - Alex
The code so far:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address <> "$A$1" Then Exit Sub 'Only interested in cell A1
Range("B65536").End(xlUp).Offset(1, 0).Value = Target
End Sub
Source:
Excel Challenging! How to record changing values in a cell
I found this code here-under in the archives of mrexcel.com and it works great.
The code basically records changing values in an excel cell.
Upon detecting a change in the specified cell value, this code records the new value in another cell, and basically keeps a log of changes.
I wish to add a 'date and time' stamp each time a new value is logged.
So basically I wish to have a log of the change in value and the time it happened.
Grateful for you suggestions please
![Smile :) :)](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png)
Thank you - Alex
The code so far:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address <> "$A$1" Then Exit Sub 'Only interested in cell A1
Range("B65536").End(xlUp).Offset(1, 0).Value = Target
End Sub
Source:
Excel Challenging! How to record changing values in a cell