'Pour insérer la date et l'heure par double clics
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
ActiveSheet.Unprotect Password:="."
If Not Intersect(Target, Range("A:A")) Is Nothing Then
Cancel = True
Target.Formula = Date
End If
If Not Intersect(Target, Range("H:H , J:J , L:L , N:N")) Is Nothing Then
Cancel = True
Target = Format(Now, "hh:mm")
End If
ActiveSheet.Protect Password:="."
End Sub