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

Inject macros

Apr 14, 2015 at 11:00 AM
Hello !

I use your great library, and I need your help to finish the work.

I need to allow a table to be sorted in a protected sheet, and allow group functionnalities too. I read that it is not possible with closedXML but possible with macros. So, I need to know if it's possible to inject some VB code in an Excel file via closedXML.

Thank you for your help !
Apr 14, 2015 at 1:43 PM
You can't add macros but you can open a template file with the macros already there, add your data, and then save.