Thread: date/time
View Single Post
  #2   Report Post  
mangesh_yadav
 
Posts: n/a
Default


Enter this code in the module of the concerned sheet.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then
Range("B1") = Now()
End If
End Sub


Will change the date only when you change or enter value in A1

Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=379994