Unsupported file format

Hi,

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

Regards,
Kiran

@ITCUser

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.