Free Support Forum - aspose.com

Macro Handling

Hi
I am using a sample document containing diff macros to create new documents. Since user is creating more than 1000 documents per day so size of sample document is very important. I want some help that is there any possibility to insert a compiled macro into the document upon loading from DB using Aspose Word.

Thanks.
Mansoor Khurshid
Software Developer

Hi,


Thanks for your inquiry.

Please note that there is no way to create or modify macros using Aspose.Words; macros are preserved upon open and save with Aspose.Words. Also, there is no way to run macros at the moment using Aspose.Words. However, we will consider providing limited support of macros such as reading a macros from document sometime in the future. Sorry for the inconvenience.

PS: You might be interested in the following article on how to load and save a document to database:
http://www.aspose.com/docs/display/wordsjava/How+to++Load+and+Save+a+Document+to+Database

Best regards,