masonlee
Feb 22, 2022Brass Contributor
Status:
New
Improving Excel Add-in API failures when in CellEditMode
Hello Microsoft Add-in team! I'm developing an Excel Add-In and have some suggestions relating to Excel.ErrorCodes.invalidOperationInCellEditMode. I'm finding that having the Excel Add-In APIs a...
darshanm1175
Aug 04, 2025Copper Contributor
Excel’s Cell Edit Mode confuses users and frustrates developers. Currently, when a user is actively editing a cell, many Excel JavaScript APIs (Office.js) throw errors or fail silently. There is no reliable, official way to detect or handle this state programmatically.
We are forced to implement manual workarounds, like using modals or custom alerts to inform users.