Follow this article to edit macro in Word using C#. It will provide details to set the IDE, a list of steps, and a sample code showing how to edit macros in Word using C#....module and set the SourceCode property to the modified macro code...new script in the SourceCode property of the target module and save...