How can I keep track of when (date and time) data is entered into.

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

Guest

I am trying to create a spreadsheet for a high school class. I need to be
able to track when a student has entered data into specific cells of the
spreadsheet. Any ideas?
 
In the code behind the worksheet, enter (eg)

Private Sub Worksheet_Change(ByVal Target As Range)
Cells(1, 1).Value = Now()
End Sub

This will enter in Cell A1 the date and time at which any entry is made in
that worksheet.
If you need the location of the time-stamp to vary according to which cell
is changed then you can test the value of Target and vary the destination
cell accordingly.
 

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