Toggle Button Help

Tank997

Board Regular
Joined
Feb 12, 2005
Messages
62
Office Version
  1. 365
Platform
  1. Windows
I need help deleting an activeX toggle button from a worksheet, Excel 2007. I added a toggle button to show and hide rows, I then added the caption and clicked the button several times to test it. The caption text kept getting larger and larger the more I clicked the button. I decided to remove it and go with two buttons, one to show and one to hide the rows. I went to design mode and now I can't select the button to delete it. I went into VBA and deleted the code but still can't get rid of the button. I can see the "ToggleButton1" in the main VBA window dropdown for "Sheet1" but I can't find a way to delete it.

Any help or ideas whould be appreciated!

Tom
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Sorry I figured it out. First I copied the sheet to another sheet and it did not copy the button. Then I added the two new buttons and while adding the code I realized my mistake. I had code to unprotect and reprotect the worksheet, so it was protected when I was trying to delete it. Protection off and the button is gone.

I still don't understand the font issue though?

Tom
 
Upvote 0

Forum statistics

Threads
1,224,506
Messages
6,179,159
Members
452,892
Latest member
yadavagiri

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