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,
Oliver

Excel.VBA.zip (170.8 KB)

@dr.doc,
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