Remove buttons from workbook

  • Thread starter Thread starter nir020
  • Start date Start date
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
 
Try the below code which will work on the activesheet...

Activesheet.Drawingobjects.Delete

If this post helps click Yes
 
You can remove all buttons of the Forms variety by:

Sub ButtonKiller()
ActiveSheet.Buttons.Delete
End Sub

Controls buttons are a different story.
 
Back
Top