Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Row = 1 Or Target.Column > 1 Then Exit Sub
Dim c As Range, cc As Range, p As Object
Application.ScreenUpdating = False
'---RAZ---
Me.DrawingObjects.Delete
'---copier-coller des images---
For Each c In Range("A2:A" & Cells.SpecialCells(xlCellTypeLastCell).Row)
If c <> "" Then
With Sheets("drapeaux")
Set cc = .Columns(1).Find(c, , xlValues, xlWhole)
If Not cc Is Nothing Then
For Each p In .Pictures
If p.TopLeftCell.Address = cc(1, 3).Address Then
p.Copy 'copier
Me.Paste 'coller
With Selection
.Left = c(1, 2).Left + (c(1, 2).Width - .Width) / 2
.Top = c(1, 2).Top + (c(1, 2).Height - .Height) / 2
End With
ActiveCell.Activate
Exit For
End If
Next p
End If
End With
End If
Next c
End Sub