Hi @Kashif Bashir Bhatti , I believe the custom function is clearing the undo/redo stack, so there is nothing to be undone. This is why the button is grayed out/disabled. AFAIK, there is no workaround.
Undo button disabled after Custom Functions in Excel
Kashif Bashir Bhatti
36
Reputation points
Hi,
I am working on an Excel Add-in in Javascript and have written some custom functions in it. Now Problem I am facing is that when user writes custom function in a cell, Undo and Redo buttons are disabled and user cannot undo its action or some previously made change.
Microsoft 365 and Office Development Other
4,375 questions
1 answer
Sort by: Most helpful
-
lindalu-MSFT 161 Reputation points Microsoft Employee Moderator
2022-12-31T00:10:23.343+00:00