Remove buttons from workbook

N

nir020

I have a spradsheet which has about 100 buttons in it, is there some code
that will search through the workbook and remove all the buttons without me
having to specify their names?

Thanks

Nick
 
J

Jacob Skaria

Try the below code which will work on the activesheet...

Activesheet.Drawingobjects.Delete

If this post helps click Yes
 
G

Gary''s Student

You can remove all buttons of the Forms variety by:

Sub ButtonKiller()
ActiveSheet.Buttons.Delete
End Sub

Controls buttons are a different story.
 
Top