schoong's avatar
schoong
Brass Contributor
Mar 27, 2026
Status:
New

Ability to dynamically change ribbon button at runtime

Our ribbon button actions are awkward! We need the ability to interact with them more dynamically at runtime. Ideas:

  • Change Office.Ribbon.RequestUpdate() so that it can change a ribbon button's label at runtime, like the "Protect Sheet"/"Unprotect Sheet" button in the Review tab.
  • Give us the option to create toggle buttons in the manifest and in contextual tabs, like Excel's native "Filter" button in the Data tab, or the "Bold" button.
  • Change Office.Ribbon.RequestUpdate() so that it can remove a ribbon button, or change its icon, at runtime

1 Comment

  • IvanH's avatar
    IvanH
    Brass Contributor

    I agree. This option will be very useful. 

    Current MS strategy seems to go the way, that a ribbon-button should open a side-pane. And all the main logic should reside in this side pane. We are following this way, but it would be more elegant if one could update or at least show/hide ribbon buttons conditionally.