This project has moved. For the latest updates, please go here.

Inject macros

Apr 14, 2015 at 10: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 !
Coordinator
Apr 14, 2015 at 12: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.