Delete Radio Buttons & Check Boxes

Smurfit-Stone

Active Member
Joined
Dec 1, 2004
Messages
485
Hello Board,
Is there a way to delete or get rid of a large amount of radio buttons from a spreadsheet? I have a spreadsheet with two radio buttons per row and 435 rows. I've deleted and cleared the columns but the button are still there.....there has to be a way to get rid of them except one at a time....Thanks in advance
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Try this:

Create this Macro:
Code:
Sub EraseSelectedSymbols()
    Dim isect As Range
    For Each PicObj In ActiveSheet.Shapes
        TheLeft = PicObj.TopLeftCell.Address
        Set isect = Application.Intersect(Range(TheLeft), Selection)
        If Not isect Is Nothing Then PicObj.Delete
    Next PicObj
End Sub

You can even assign it to a button if you like.

You never said which 2 columns but, highlight the 2 columns and then start this code. This will delete all shapes(buttons) in the 2 columns.
If you need to just delete up to the 435 row, then just select up to this row.

Hope that helps,
Michael
 
Upvote 0
In design view, click on the arrow (selection) button on the drawing toolbar, then you can drag a box around all of the objects you want to delete and then press Delete.
 
Upvote 0
Thanks Daniel....it worked. Manager changed his mind about radio buttons, he decided he might want to do a sort later in future and buttons wouldn't work...thanks again EVERYONE!
 
Upvote 0
Lewiy :oops: :oops: :oops:
(y) WOW! (y)
I have always been curious why this task was not easier. And now to find out, the task is much easier with your suggestion :oops: :oops:

I always learn so much from this site!!!
:pray: :pray: :pray:

Thank you,
Michael
 
Upvote 0
You could also use Edit>Goto...Special and select Objects, then hit delete.

But my personal favourite(s) would be just to either delete the sheet, or just copy the data only to another sheet.
 
Upvote 0
Six years later and this was still useful for me on Excel 2010! Thanks so much. Was copying/pasting information from HTML and trying to get around the buttons was crazy.

For others reading, Daniels012's macro - all I did was copy, went to create macro, dropped into the code box. Highlighted the section I wanted to apply to and clicked run. So easy!!

Thanks again! :)
 
Upvote 0

Forum statistics

Threads
1,215,003
Messages
6,122,655
Members
449,091
Latest member
peppernaut

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top