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

Free Support Forum - aspose.com

Macro in Excel document

Good morning, just a confirmation: Excel documents can contain macros, and the processing performed with Aspoce.Cells not disabled in any way correct? It would also be possible to run on the server, through the library, the macros contained in it?
thanks Valter

Hi,


Well, if your template file contains Macros/vba codes, now when you process the template file (e.g open/save the file etc.), the macros/vba codes would be retained, the component would not disable or delete the macros/vba codes either.

Regarding your other query, I am afraid, Aspose.Cells does not support to create, manipulate or run / execute macros/vba codes, it only supports to retain the macros/vba codes and re-save the file with it although you may remove the macros by using Workbook.RemoveMacro() method.

Thank you.