HOW SHOULD I SELECT ALL THE OBJECTS, PLEASE?After selecting all, press the control key and uncheck one object with the left mouse button, repeat the same for the other object, then press the delete key to delete the other selected objects.
Didn't you already have them all selected when you created the image in post 1? How did you do that?HOW SHOULD I SELECT ALL THE OBJECTS, PLEASE?
yesctr+a?
Thanks for the explanation, you helped me.After selecting all, press the control key and uncheck one object with the left mouse button, repeat the same for the other object, then press the delete key to delete the other selected objects.
Yes, I chose themDidn't you already have them all selected when you created the image in post 1? How did you do that?
Was it F5 -> Special .. -> Objects -> OK?
Sub Delete_All_Except_Two()
Dim shp As Shape
For Each shp In ActiveSheet.Shapes
Select Case shp.Name
Case "Button 1", "TextBox 2" '<---- Names of shapes not to be deleted
Case Else
shp.Delete
End Select
Next shp
End Sub