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

Free Support Forum - aspose.com

Unsupported file format


We are getting “unsupported file format exception” while checking for macros on .doc file using aspose word API.

// code snippet //
if (new Document(sourcepath).HasMacros) // throwing exception



Thanks for your inquiry. Please ZIP and attach your input Word document here for testing. We will investigate the issue on our side and provide you more information.