Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Not Application.Intersect(Target, Range("s7:s20000")) Is Nothing Then
Application.EnableEvents = False
With Target
.Value = Trim(Target.Value) & IIf(Right(Trim(Target.Value), 1) = "-", " ", " - ")
If .Value = " - " Then .Value = ""
Application.SendKeys ("{Down " & Len(.Value) & "}")
Application.SendKeys "" 'visiblement a pour effet d'annuler la touche precedente donc pas d'association de touche
'qui ammene la plupart du temps a transformer les touches 4,6,2,8 en fleche et annule les autre du pavé
End With
End If
Application.EnableEvents = True...