Share via

Undo button disabled after Custom Functions in Excel

Kashif Bashir Bhatti 36 Reputation points
2022-12-30T16:09:01.847+00:00

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
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. lindalu-MSFT 161 Reputation points Microsoft Employee Moderator
    2022-12-31T00:10:23.343+00:00

    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.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.