We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Macro preserve

hi team,

i am using latest aspose.cell.dll and when adding some macro code into the file its not getting preserved in excel output.
do i have to add additonal code to make it preserve?
i have attached the template used and the output file.

Hi,


Please download and try our latest fix/version Aspose.Cells for .NET v7.5.0.1 I have tested with it using your template file with the following code, the output file has the macros / codes preserved in it.

Sample code:

Workbook wb = new Workbook(“e:\test2\Template.xls”);
wb.Save(“e:\test2\outFile.xls”);

Thank you.