How can a timestamp in an Excel row be automatically updated if a.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need a time stamp in each row of a ca. 300 row spreadsheet of user
information such that the timestamp is automatically updated if any cell in
its respective row is changed.

My question: is this possible using Excel?
 
Only with VBA code

Assuming your time stamp is in column A. If some other column, change the
column number in the code below

right click the tab for the sheet in question and choose View Code, then
paste this in

Private Sub Worksheet_Change(ByVal Target As Range)
' next line assumes column A - change the number if a different column
Const ColumnNumber = 1

Cells(Target.Row, ColumnNumber).Value = Now()

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