Using Document Properties to Track Your Excel Reports
An excellent article from Chris.
Adding Properties
Using pandas and https://xlsxwriter.readthedocs.io/example_doc_properties.html do the following:
| |
Now I will know which project and file created the spreadsheet as well as some
other useful data.
When I check the properties of the Excel file, I will see all this info under
Details.
Using VS Code Snippets
For more details look at https://pbpython.com/vscode-notebooks.html and do the following:
| |
By using the snippet is that I can access VS Code
variables such
as $TM_DIRECTORY and $TM_FILENAME to pre-populate the current path and
name.
#Excel #Document Properties #Python #Xlsxwriter #Vs Code #Code Snippet #Chris Moffitt