Free Support Forum - aspose.com

Word 2007 VBA Action Not working

On a machine that has word 2007 installed, when the fax.doc file is generated, the ActiveDocument.FormFields("txtJobNumber").Select in the on open event does not work, but it does work on a machine that has word 2003 installed. I've set the macro security settings to allow anything and it still doesnt work.

I'm using the 4.4.3.0 version. of the dll.

Hi

Thanks for your inquiry. In the attached document I can see only this macro:

ActiveDocument.Unprotect "lock"

Maybe the following macro is created for all active templates and documents that’s why it is not stored in document

ActiveDocument.FormFields("txtJobNumber").Select

Try using the attached document.

Best regards.