Merci cela prend forme petit à petit grace à vous ! Mais en réalité je me trompe de question car en fait ces deux macros font parties d'un userform qui s'active au double clic et en realité c'est lui qu"il me faut brider. J'essais de transposer les infos, mais il marque variable non définie.
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Set isect = Application.Intersect(Selection, Range("F:T"))
n = Application.CountA(Range(Cells(Selection.Row, 2), Cells(Selection.Row, 4)))
If Not isect Is Nothing And n = 3 Then
Action.Show
Cancel = True
ElseIf Not Intersect(Target, Range("U:U")) Is Nothing Then
With Target
activecell.Select
activecell.FormulaR1C1 = ""
activecell.Rows("1:1").EntireRow.Select
Selection.Delete Shift:=xlUp
activecell.Offset(15, 0).Rows("1:1").EntireRow.Select
Selection.insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
End With
Cancel = True
End If
End Sub