Timestamp a cell when row is updated.
Hi,
generally this is very easy and the code is below but your question isn't
clear.
Is the 'Last updated' column different for every tow?
Anyway try this. Right click your sheet tab, view code and paste the code
below in
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.count 1 Or IsEmpty(Target) Then Exit Sub
If Not Intersect(Target, Range("G1:z100")) Is Nothing Then
Application.EnableEvents = False
Cells(Target.Row, 6) = Now
Application.EnableEvents = True
End If
End Sub
Mike
"BakerInSpain" wrote:
I am looking for a solution.
My spreadsheet has 5 columns that i do not want this to affect. The 6th
column is "Last Updated".
When i write comments in any cell after H i want it to put the updated date
and time into "Last Updated" in that row.
Another addition to this would be to check the last updated date, if it is
upto 3days from today then turn green, upto 5days yellow and more than 7days
red!
I hope someone can help!
|