Dim img
With Worksheets("SHEMA_BLOC")
For Each img In .Shapes
If not Intersect(img.TopLeftCell, .Range("F5:R217")) Is Nothing Then If img.Type = 13 Then img.Delete
Next
End With
Sub DeleteAllPicture()
ActiveSheet.Pictures.Delete
End Sub
Bonjour @Phil69970Bonjour @netparty @patricktoulon
Je te propose ce fichier
*Clic sur le bouton "NE PAS EFFACER"
@Phil69970
Dim img As Object
For Each img In Worksheets("SHEMA_BLOC").Range("F5:R217").Shapes
If img.Type = 13 Then img.Delete
Next
Dim img
With Worksheets("SHEMA_BLOC")
For Each img In .Shapes
If not Intersect(img.TopLeftCell, .Range("F5:R217")) Is Nothing Then If img.Type = 13 Then img.Delete
Next
End With
Bonjour @patricktoulonBonjour
deja essaie
Dim img As shape
et puis un range n'a pas de membre ".shapes"
VB:Dim img With Worksheets("SHEMA_BLOC") For Each img In .Shapes If not Intersect(img.TopLeftCell, .Range("F5:R217")) Is Nothing Then If img.Type = 13 Then img.Delete Next End With