
'da inserire nel modulo del foglio specifico:
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Columns("B")) Is Nothing Then Exit Sub
On Error Resume Next
Target.Offset(, 1) = Date 'Now
End Sub
|
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Columns("B")) Is Nothing Then Exit Sub
Application.EnableEvents = False
Target.Offset(, 1) = Date 'Now
Application.EnableEvents = True
End Sub |
