StupidLikeAFox wrote: » Are you just doing it for yourself or want to build something for public consumption? If its just for yourself then you can use mail merge functionality in word
bridest wrote: » It's to automate a process at work, and mailmerge can't do it
bridest wrote: » because it's not always the same two files being read and wrote to and also we need to create a folder structure
StupidLikeAFox wrote: » Does your company use office 365 with sharepoint - microsofts power automate is designed for this kind of thing
bridest wrote: » Hey, I want to write a simple python web app that will transfer some data from an excel sheet into various places in a Word document. Should I use a framework such as Django or should I even use Python!
EKRIUQ wrote: » Just use import CSV in python to grab the content you need Then write it to the file where you need it using regex expressions or if you look at python-docx it might have a solution. Setting up a Django environment seems a bit over the top unless your going to be handing it over to someone else.
I think this would be a great little project to create using python and Django.
As it will be for all employees you can host it internally on your organisations server. I have built multiple similar type apps - to automate manual processes - using python/Django.
If you are new to python/django, this could be a good side project. Django documentation is good and a lot of django support online (stack overflow etc.)
The best solution is VBA it's exactly what it was designed to do. But I realize no one wants to touch that.
Curious if there's update on this?
Since I made this post something very similar came up in work and power Automate worked great. I have it monitoring a folder, then depending on the filename it sends the file as an attachment to a specific email address and transfers the file to a sub folder. All very easy to do with no coding required
This should help you most of the way OP if you decide to go down that route:
https://tahoeninjas.blog/2020/03/13/generate-word-documents-from-a-template-using-power-automate/
Thanks, I'll look into it. Would it work from an excel file?