Excel with macro file gets corrupted when using in docker linux container

When I am editing an excel with macro the excel file saved by gembox can’t be edited after opening, If I save the excel getting error


it doesn’t get saved even if I click on continue.
The issue doesn’t happen when excel is generated by Gembox .net 6 API running on windows.
It is happening when excel is generated by Gembox .net 6 API running on linux with docker.
Its critical for us to use the macro, any help would be very much appreciated

Hi Nishant,

I was unable to reproduce this issue.
I tried running our VBA Macros example on Docker, it generated a valid “AddVbaModule.xlsm” file.

Just in case, please try again with the current latest bugfix version:

Install-Package GemBox.Spreadsheet -Version 49.0.1602-hotfix

If the problem remains, please send us a small Visual Studio project that reproduces the issue so that we can investigate it.

Regards,
Mario