Bonjour,Bonjour
réponses en pj.
Pardon je n'avais pas vu ces modifications, très bien, merci beaucoup !As-tu seulement lu les réponses que j'ai apportées ?
Option Explicit
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Column = 1 Or Target.Column 4 Then Cells(Target.Row, 1) = Date
End Sub
VB:Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean) If Not Intersect(Target, Range("A1:E10100")) Is Nothing Then If Target.Interior.Color = vbGreen Then Range("A" & Target.Row & ":E" & Target.Row).Interior.Color = vbWhite Cells(Target.Row, "C") = "" Else Range("A" & Target.Row & ":E" & Target.Row).Interior.Color = vbGreen Cells(Target.Row, "C") = "ok" End If End If End Sub