Modified date

  • Thread starter Thread starter Prixton
  • Start date Start date
P

Prixton

Hi,
We have a sheet with several rows and columns that are sometimes updated.
What we want is a date in a column "Modified Date" when something in that
row is modified. Is this possible?

Best regards
 
Hi prixton

If you change a cell in Col A:G the date will appear in the H column
Copy this event in a sheet module

Private Sub Worksheet_Change(ByVal Target As Range)
Dim cell As Range
For Each cell In Target.Cells
If Target.Column < 8 Then
Cells(cell.Row, "H").Value = Format(Now, "mm-dd-yy hh:mm:ss")
End If
Next
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top