How are Macro's handled in Aspose libraries for .NET?

How are Macros treated when converting from XLSM, DOCM or PPTM to PDF. Is there a chance of a malicious Macro exploid or are Macros ignored?
Is there a way to suppress in code?

@wsan,
Thank you for your questions.

As for Aspose.Slides library, all macros are ignored when converting PowerPoint documents to PDF. Aspose.Slides also never runs macros from presentations. My colleagues will answer you on other Aspose products shortly.

@wsan,

Regarding XLSM to PDF rendering via Aspose.Cells, please note, Aspose.Cells does not execute or run macros before the conversion. Moreover, macros are excluded while converting files to PDF file format. By the way, using Aspose.Cells APIs, you may evaluate if a workbook or Excel file has macros/vba codes in it via Workbook.HasMacro attribute, so you can remove the macros/vba codes via Workbook.RemoveMacro method.

@wsan Upon conversion from DOCM to PDF Aspose.Words does not execute macros. Macros are not exported to PDF after conversions. Also, you can remove macros from the document using Document.RemoveMacros method.