Sub For_eachの使い方②_各図形_Shapes_オブジェクト()
For Each オブジェクト In ActiveSheet.Shapes
オブジェクト番号 = オブジェクト.Type
If オブジェクト番号 = 17 _
Or オブジェクト番号 = 13 _
Or オブジェクト番号 = 8 _
Or オブジェクト番号 = 3 Then
オブジェクト.Select
オブジェクト.Delete
End If
Next
End Sub