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

Free Support Forum - aspose.com

Aspose Words and running VBA code

We have a client that has a VBA macro in their Word document. Basically, it is setting a date to two Mondays in the future. Is it possible to run some VBA code when the document is merging? If so, how would we do that?



Thanks for your inquiry. Please note due to security measures Aspose.Words does not support to run macros during document manipulation but the macros are preserved upon open and save of Word document. So you cannot run VBA macro using Aspose.Words.