Free Support Forum -

Aspose.Word for .NET - Working with macros

Hi Team,

Here is my requirement with Aspose.Word, I created a word document which has few textboxes, I need to associate an textbox to a macro function which is already there. Please let me know whether it is possible programmatically in .NET.

Description:(For Example)

1.My document has 5 texboxes.

2.I will enter some numeric values in first four texboxes.

3. I have a macro with me which will calculate the sum of these four textbox values and will drop it in to the fifth textbox.

4. I need to associate the fifth textbox to that macros so that it will manipulate the result. The association need to happen programmatically while creating the Aspose word.

5.Need to achieve this functionality thorough .NET. This is our project requirement which will decide the Aspose usage and purchase of it. Please let me know the possibility.

Hi Balajee,

Thanks for your interest in Aspose.Words. I am afraid, there is no way to create or modify macros using Aspose.Words; however, macros are preserved upon open and save with Aspose.Words. If we can help you with anything else, please feel free to ask.

Best regards,