Disable Button in Excel Ribbon

steve_p_r

New Member
Joined
Apr 29, 2022
Messages
1
Office Version
  1. 2013
I’m using Excel 2013 with a COM add-in (which has a .vsto file extension). The add-in has added an extra tab to the ribbon, which contains a number of groups with each group having a number of command buttons.

On a spreadsheet that I have I’d like to disable one of the buttons so that users cannot use the button when using the spreadsheet. The button has a drop down arrow which produces a list of options (similar to the built in AutoSum button).

I know how to disable the built in buttons, such as bold, cut etc. or any custom buttons that I add, but cannot work out how to disable any of the buttons that the add-in has added.

Anyone got any idea how to do this?
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
My suggestion would be to contact the creator of the add-in because I imagine the code is not viewable by you, thus you wouldn't be able to disable it or trap it without their help. They might even have documentation they can direct you to because you're probably not the first to ask how to disable ribbon controls in the add-in.
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,971
Members
452,371
Latest member
Frana

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