kmi's avatar
kmi
Copper Contributor
Sep 22, 2025
Status:
New

Feature Request: Support for Automatic Custom Ribbon Button Disabling in Cell Edit Mode

Summary

Currently, most native Excel ribbon buttons are automatically disabled (greyed out) when a user enters cell edit mode (e.g., pressing F2). However, this behavior does not apply to custom ribbon buttons created via the Office JS API—they remain enabled during cell edit mode, which can lead to inconsistent user experience and potential issues.

I propose adding a new manifest property (or an equivalent object property) called something like AutoDisableWhenCellEdit that allows developers to opt in to automatic disabling of custom ribbon buttons during cell edit mode, thereby letting Excel handle this behavior uniformly across native and custom controls.

1 Comment

  • kmi's avatar
    kmi
    Copper Contributor

    Additional Notes

    • The property should default to false to avoid breaking existing add-ins.
    • Ideally, Excel should handle the enabling/disabling automatically once this property is set, without requiring add-in code to listen for edit mode events.
    • This feature applies primarily to buttons and possibly other ribbon controls that can be disabled.