Hi,
Where did you edit the Workbook? Form Desktop or browser?
Can you open the VB editor?
Can you find the module and the code from the editor?
I suggest you check if Macros in list and confirm if the macro saved in this Workbook or other Workbooks:
Then if you can open the VB editor, try toexport all code modulesfrom it. Re-save the Workbook as .xlsx file format, open the new Workbook and import code modules then save as .xlsm file format.
Just checking in to see if the information was helpful. Please let us know if you would like further assistance.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.