Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
ActiveSheet.Unprotect Password:="."
'Pour insérer l'heure par double clics dans les colonnes J, L, N et P
If Not Intersect(Target, Range("J:J , L:L , N:N , P:P")) Is Nothing And Target.Row > 1 Then
Cancel = True
If Target = "" Then
Target = Format(Now, "hh:mm")
Else
Target = ""
End If
End If
ActiveSheet.Protect Password:="."
End Sub