hi,
can any one please tell me how can i run a macro through aspose
This message was posted using Aspose.Live 2 Forum
hi,
can any one please tell me how can i run a macro through aspose
Hi
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thanks for your inquiry. There is no way to add or run macro programmatically using Aspose.Words. Aspose.Words just preserves macros (VBA project) existing in a Word document without changes.
Best regards,
H AndreyN,
Hi Rajesh,
Thank you for additional information. As I mentioned earlier, there is no way to run macro during opening document with Aspose.Words. But you can create AutoOpen macro which will be running during opening document with MS Word. I think this article will help you to achieve what you need:
http://word.mvps.org/FAQs/MacrosVBA/DocumentEvents.htm
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Best regards,