Automation on editing Word documents
Hello all!
I have been tasked to automate a lot of the jobs done by a specific role, this role entails using mostly Microsoft Word documents so my question is.
What is probably the best coding language to use? I know there is the likes of visual basic for making macros etc in word itself but just wondering if anyone knew of any other really usefull languages?
The tasks include removing specific images from a file, copying specific text from one file and populating it in the correct areas on another file and a few other odd jobs
Anyone had experience with this? I've tried macros (manual with VB and record macros) with no avail due to selection being limited to no mouse control.
Thank you in advance
EW
Posted Jan 11, 2016, 3:26 PM UTC
22
Not the best language, but I have the same task for creating pdf from docx template and I use python for programming language and python-docx package.
The template is only a normal docx document with template word such as '<word>' (without quote) which will replace this with other word from database.
While it is good with text, I don't it can interact with the picture on the document.
That sounds good though! There are documents that contain no images altogether but require certain places to be populated by a prepopulated word document