Thanks for your inquiry. We have executed the shared .exe file at our end. We have run the macro and have not faced any exception. We have attached the output DOCX generated by your .exe file with this post for your kind reference. SB.053_1.zip (60.4 KB)
You are using Aspose.Words in evaluation mode. We suggest you please get the temporary license from following link and apply it before importing the document into Aspose.Words’ DOM.
Get a Temporary License
We have tested the scenario at Windows 10. If you still face problem after applying the license, please share your operating system detail for further testing. Thanks for your cooperation.