Hi @Alina alina ,
First please try to repair .net in your computer.
Then please try this method and check the result:
Start Excel in Safe Mode ( run: excel \safemode)
Alt - F11 (opens VBA editor)
Tools > references
Un-checked the following:
OLE Automation
Microsoft Office 15.0 Object Library
'Save As'
Re-open workbook normal
Any updates please let me know, and I'm glad to help you.
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.