This project has moved and is read-only. For the latest updates, please go here.

XLSM save file have disabled buttons

Jun 12, 2014 at 10:50 AM
I'm using Closed XML for .Net 4.0 with Macro Enabled Excel, In the sheet I have some buttons, these buttons attached to macros, after opening and then saving the document using closed XML it get corrupted.

the following links show the two files.

the code used for opening and saving:
var workbook = new XLWorkbook("Supplier Cost Sheet Template v61.xlsm");
Jun 18, 2014 at 10:27 PM
Pick up the latest source code and try again because I can open and save the file no problem and the output file opens fine in Excel.

The corrupted one you shared is indeed bad though. I just can't reproduce it.