Specifies whether all macros are enabled or disabled. It defaults to false, meaning disable all macros. True means enable all macros.
The default value is False for security reasons, and also to avoid script errors or pop-up dialogs possibly causing the conversion to fail. If you need to run any macro functions during conversion, set this property to True.
For security reasons you should always disable macros for documents that you do not completely trust, especially on the server side.
Note: In this past, this property only controlled the auto-execute macros. Now it affects all macros and VBA.
'VB Sample Code Set oPrinter = CreateObject("easyPDF.Printer.8") Set oPrintJob = oPrinter.ExcelPrintJobEx oPrintJob.EnableAutoMacros = True ' Security risk! oPrintJob.PrintOut "C:\test\input.xls", "C:\test\output.pdf"