Bonjour,
J'aimerais savoir si je le fais de cette façon est-ce correct?
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Count > 3 Or Target.Count < 3 Then Exit Sub
If Target.Row >= Range("A10").Row Or Target.Row < Range("A20").Row Then
Description = Target.Value2(1, 1)
Call Sous_routine1(Target)
End If
End Sub
Sub Sous_routine1 (Target As Range)
Ligne1 = Range("A" & Target.Row)
Ligne2 = Range("A" & Rows.Count).End(xlUp).Row
End Sub