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

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
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,898
Messages
6,175,272
Members
452,628
Latest member
dd2

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