Info

This question is closed. Reopen it to edit or answer.

Excel add-in crashes after recompiling dll

1 view (last 30 days)
Mark
Mark on 4 Mar 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi,
I created an excel (x64) add-in using Matlab compiler (2015a x64). Everything worked fine with the compiled dll calling correctly from vba and returned correct results. However, I needed to make a minor change in the dll (no interface changes), so I made the change, re-compiled the project with the same settings (not changing version number etc) and re-installed the Excel add-in and now the Workbook crashes when the vba code is called (or even if I open the vba editor from excel. I tried, re-registering the dll, uninstalling the original dll with no success. The only way to recover the workbook is to remove the vbaproject in safe mode and start over...
Please can you tell me how to update an excel add-in dll that is already in a workbook.

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!