Skip to content

HardieParham/MsWordUpdater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MsWordUpdater

Python script to update a batch of ms word documents (must end in .docx)

step 1: Update 'data/update_list' to change any text you want to update from old '.docx' files

step 2: Create venv from requirements.txt

step 3: Run main.py to update documents according to the update_list.

step 4: Enjoy the 8 hours you saved not having to do this manually

NOTES: As of now, anytime the text of a phrase gets updated, that text's formatting (Bold, Font, FontSize, etc.) gets over-written back to the documents default. Will add the ability to retain formatting in the future.

Issues with Table of Contents of a document getting deleted if a section title gets updated. Will need to investigate this...

footer_loop, header_loop, and table_loop are very similar. Will look into consolidating into a single method

About

Python script to update a batch of ms word documents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages