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

Free Support Forum - aspose.com

Run Macros

Can we run Excel Macros using Aspose?

or Can we create Macros and then run the macros?

or Can we aleast disable Macros?


I am afraid, create vba codes or macros, manipulate or execute vba codes or macros are not supported yet. A ticket is already logged with an id "CELLSNET-40353" for it.
Once we have any update on it, we will let you know here.

To your last point, Aspose. Cells provides an API i.e. Workbook.RemoveMacro() that would just remove all the macros in the template file if it may help you.

Thank you.


Thanks for using Aspose.Cells.

We only plan to create, manipulate or embed VBA codes/ macros later. We however cannot support to run or execute macros. Does it fit your needs?