I’m trying to add a “Last Time Updated” column to my spreadsheet of product information. I got it to work (it updates Cell BQ every time any cell in that row is changed), but it has “broken” the Undo function in Excel. I just get an error beep and nothing is undone. If I can’t fix that, I’ll have to take this out and rely on the user to manually update the cell – unlikely! Any ideas on how to get around this? Can I somehow combine it with a Before Close event, so that only the cells in changed rows are updated at the end of each session?
Right now, my Worksheet code looks like this:
Right now, my Worksheet code looks like this:
Code:
Private Sub Worksheet_Change(ByVal areaOfInterest As Range)
‘ Rows 1-3 are header info
If areaOfInterest.Row > 3 Then
Worksheets("Sheet1").Cells(areaOfInterest.Row, "BQ") = Now
End If
End Sub