Improving Excel with Python (Day 4 of 5)

My starter scripts in January 2021:

Set the file attributes for multiple Excel files



Setting file attributes for multiple files in one folder can be achieved from the Windows File Explorer window, but doing this across multiple folders can be so time consuming and prone to error that they aren’t updated.

Here’s a snippet that gets the file attributes (the title, description and subject) from a file the user selects, and copies them to all Excel files within a folder.


Tomorrow for the final (and for me the most exciting) part, I’ll explore tracking the changes in an open Excel document to add a live audit feature.


Any thoughts or questions, get in touch



Have a look at the code I used, here: