VBA代码如下:

Private Sub Worksheet_Change(ByVal Target As Range)
 Range("A1") = "更新日期:" & Now()
End Sub

A1是时间所在位置

Last modification:July 11th, 2018 at 09:45 pm
If you think my article is useful to you, please feel free to appreciate