比如你要删除sheet3当中单元格A1:F30区域的所有图片,用以下代码
Sub test()
Dim ws As Worksheet, MyShape As Shape
For Each ws In Worksheets
If ws.Name = "Sheet3" Then
For Each MyShape In ws.Shapes
If MyShape.Type = 13 And Not Application.Intersect(MyShape.TopLeftCell, ws.Range("A1:F30")) Is Nothing Then
MyShape.Delete
End If
Next
End If
Next
End Sub