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

Free Support Forum - aspose.com

Aspose.Cells corrupts XLSM documents by removing complete VBA!

Hi Aspose team,

in attached project you will find very simple code which is reading XLSM file and saving it under some other name, there is nothing else.

Original document has VBA code and newly created one does not have a single line of VBA so basically Aspose.Cells is killing all macros in XLSM document.

Can this be urgently checked as Cells is corrupting files?

When I try XLS files all is good.

Thanks in advance,

Excel.VBA.zip (170.8 KB)

We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSNET-47025 – Macros for XLSM not detected

The issues you have found earlier (filed as CELLSNET-47025) have been fixed in Aspose.Cells for .NET v19.12. This message was posted using Bugs notification tool by Amjad_Sahi