I am trying to create two buttons with VBA and then delete the two buttons. I need a way to create by name and then delete it by name. The below code will create the shapes but I get an error when trying to delete the shapes.
Set Firstbutton = ActiveSheet.Shapes.AddShape(5, 275, 945, 110, 25)
Set Secondbutton = ActiveSheet.Shapes.AddShape(5, 390, 945, 110, 25)