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

Free Support Forum - aspose.com

Xlsm feature

Hi,

We have aspose cells 4.7.1 licenced version.

Wanted to know whether it supports reading and writing in to .xlsm format? i.e. Macro Enabled Excel version.

Please respond soon.

Also, where can i see the features of all versions.

Regards,

Sudhanva

Hi,

Yes, it supports reading and writing of xlsm file, it also preserves macros, but you cannot modify or add new macros using Aspose.Cells for .NET.

Thanks for the response.

Can you please share the code/link for reading/writing of .xlsm format type file.

Hi,

I think you may try like following (I am not sure if you could find similar APIs set):

Workbook wb = new Workbook();
wb.Open("e:\\abc.xlsm", FileFormatType.Excel2007Xlsm);
//........

//For saving:
//e.g
wb.Save(fileNamePath, FileFormatType._____);
etc.

I am not completely sure if this works as you are using an older version of the product.

Thank you.