See, for example: https://www.msofficeforums.com/114942-post2.html
Writing VBA code for self-naming Word documents
Hello,
I create many word documents everyday, and they must follow a certain naming scheme when saved. I've created fillable sections in my word templates that allow them to be filled out very quickly; however, I would like to print the document to a PDF and have the document use some of the information in the fillable boxes to name itself.
For example, I have three separate fillable boxes for id number, name, and date respectively. When printing the document to a PDF, I want the document to use the information in those boxes to name itself [ID number] [Name] [Date] so I don't have to type it in manually.
Is something like this possible?
Thanks,
Ozias