This project is read-only.

Opening and saving existing XLSM spreadsheet detaches macros from controls


I have an XLSM spreadsheet which contains form controls with macros attached.
Opening this spreadsheet with NPOI and then saving it causes all macros to be detached from controls.
I have to manually assign macros to all controls.


FlauzerOriginal wrote Oct 24 at 8:50 AM

... at least it would be nice to avoid the crash.
The base is to change the value of some cells leaving the macro structure intact