Continuing the operation raised in this issue:
Copying image between the sheets with instant resizing & adjusting
Now I would like to set an automatic on-click delete option for these newly copied images.
I have written the simple macro for this purpose:
Sub Signature_remove()
'
' Signature_remove Macro
'
ActiveSheet.Shapes.Range(Array("Picture 49")).Select
Selection.Delete
Sheets("BoQ Civils").Select
ActiveSheet.Shapes.Range(Array("Picture 72")).Select
Selection.Delete
End Sub
because it applies to 2 sheets. Unfortunately it wasn't wise idea, because it returns the pictures ID in array, that are going to change as the process repeats. In turn I cannot really use the
Sheets("BoQ Civils").Shapes(Sheets("BoQ Civils").Shapes.Count)
because I am afraid, that all images placed in this sheet will be removed.
Is there any solution to delete these images quickly?
