Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim ws As Worksheet, sh As Worksheet
Application.ScreenUpdating = False
If Not Intersect(Target, [A2:A27]) Is Nothing Then
On Error Resume Next
With Sheets("Feuil1")
lig = .[A65536].End(xlUp).Row
If lig = 2 Then
nom = Target
Else
lig = .Cells(lig - 1, 1) + 1
End If
Set ws = Sheets("Avant")
ws.Copy After:=Sheets(4): ws.Name = "MODELE " & "|| " & Target
Set sh = Sheets("Après")
sh.Copy After:=Sheets(4): sh.Name = "OFFICE " & "|| " & Target
End With
End If
End Sub