Word isn't open source software, so you won't get access to the source code, if that is what you are asking.
It is possible to "automate" Word by using the built-in scripting language, Visual Basic for Applications, though.
__________________
Stefan Blom
Microsoft Word MVP
Microsoft 365 apps for business
Windows 11 Professional
|