in the Excel file “Input” attached, there are two buttons on sheet “Vergleich” called “Nur Differenz ab 1h einblenden” and “Alles einblenden”.
There are two macros assigned to these buttons which are working.
After opening the file with Aspose.Cells and changing/adding some data on other sheets of the excel (no changes on sheet “Vergleich”!) and saving the file under a new file name (“Output”), the two buttons are not working anymore - they lost the macro assignment and are just “normal” images (I allowed the execution of macros…).
Also see screenshots…
When re-assigning the macros (which are still there), the buttons are working again.
Currently we are using version 6.0.1.2 of Aspose.Cells.
Please try your the latest version/fix:Aspose.Cells for .NET (Latest Version) I have tested with it and it works fine. The macros are kept attached with the buttons after re-saving your template file.
It’s good to know your issue is resolved with the Aspose.Cells for .NET fix.
Please note, macros are not lost if you save your xlsm file into xlsm file. Besides, we have now supported to preserve macros in cross formats conversion.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.