Supposing that I have a C# project that has an Excel Workbook as resource, containing some generic VBA modules.
I need to serve that file after injecting some VBA code that is specific to the client. What librairies would you recommend to do this and do you have experience of these for such purpose ?
And as an additional question, is there any tool for C# that permits to run macros while the workbook is in memory ?
Many thanks in advance!
You can do all of this via
Excel InteropandVBE InteropI add in the VBA component as follows:
Then I run it as follows: