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

Free Support Forum - aspose.com

Macro detection issue

Hello,

I’m currently evaluating Aspose Word version 16.1.0 under Java 8 and, for the following test files, the API indicates that they do not contains macro but they contains one just diplaying a hello msgbox at document open event…

Is it normal ?

I have attached the samples files.

Thanks in advance.

Best regards,
Dominique

Hi Dominique,

Thanks for your inquiry. We have tested the scenario using Document.HasMacros property and have not found the shared issue. This property returns true for all documents except .mhtml. Could you please share code example which you are using at your end to detect macros in the document? We will investigate the issue on our side and provide you more information.