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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top