I have an Excel Sheet which I am using as a template file for exporting data.
The Excel Sheet is XLSM file and has few codes written in it in VBA.
Each time the file is copied and renamed with time stamp and data should be written to copied xlsm file but it is not writing the data.
I am using Open XML library for this.
The same is working if I use xlsx template file.
Is it not possible to write on xlsm Excel Macro-enabled through Open XML?
If yes, Any instructions to keep in mind.
SpreadsheetDocument package = SpreadsheetDocument.Create(filePath, SpreadsheetDocumentType.MacroEnabledWorkbook
– Suburbanize