Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Cancel = True
If Target.Column = 18 Then
If Target = "X" Then
Target = ""
Cells(Target.Row, 1).Resize(1, 12).Font.Strikethrough = False
Else
Target = "X"
Cells(Target.Row, "M").Value = CStr(InputBox("precisez la raison", "annulation"))
Cells(Target.Row, 1).Resize(1, 12).Font.Strikethrough = True
End If
End If
End Sub