d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Document Filler
Add Reply New Topic New Poll
Member
Posts: 17,606
Joined: Apr 19 2009
Gold: 1,917.10
Jun 22 2020 06:38am
I want to create a basic tool that looks similar to below picture that will create a word document once you click generate and it filsl the information in boxes into specific locations in the word document. What is the best way to go about this, a link to a guide would be really helpful. I had done this once in the past with some developer thing in microsoft word but it stopped showing up when I opened the document after a while and would prefer to do something more advanced.

Member
Posts: 6,988
Joined: Apr 16 2019
Gold: 50.00
Jun 22 2020 03:23pm
If you're using Windows / Microsoft Office (Or another flavor or Word ect.) LMK and I can do this for you. Charge you a little but nothing too crazy
Member
Posts: 17,606
Joined: Apr 19 2009
Gold: 1,917.10
Jun 23 2020 05:16am
Quote (3oDAtlas @ Jun 23 2020 05:23am)
If you're using Windows / Microsoft Office (Or another flavor or Word ect.) LMK and I can do this for you. Charge you a little but nothing too crazy


Yeh windows and office. I'd rather give it a shot myself first before getting help. I'm just not even sure what to google to get a guide
Member
Posts: 12,703
Joined: May 17 2013
Gold: 12,935.00
Jun 23 2020 05:42am
you can use python and python-docx to generate word documents easily with any custom layout
https://python-docx.readthedocs.io/en/latest/

This post was edited by Klexmoo on Jun 23 2020 05:43am
Member
Posts: 30,945
Joined: Apr 13 2008
Gold: 11,996.69
Jun 23 2020 07:27am
Im guessing you used to record a macro?

File --> options --> customize ribbon --> check developer mode

developer tab will now be visible and you can record a macro from there...

This post was edited by moutonguerrier on Jun 23 2020 07:29am
Member
Posts: 17,606
Joined: Apr 19 2009
Gold: 1,917.10
Jun 23 2020 07:35am
Quote (Klexmoo @ Jun 23 2020 07:42pm)
you can use python and python-docx to generate word documents easily with any custom layout
https://python-docx.readthedocs.io/en/latest/


Thank you I will look into this. From the first glance it appears to have the figures in the coding instead of a popup window to enter the customized text to be filled

Quote (moutonguerrier @ Jun 23 2020 09:27pm)
Im guessing you used to record a macro?

File --> options --> customize ribbon --> check developer mode

developer tab will now be visible and you can record a macro from there...


I think I used visual basic before.

This post was edited by JukeBOXX on Jun 23 2020 07:38am
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll