Writing VBA code for self-naming Word documents

Ozias 1 Reputation point
2022-03-18T15:57:06.947+00:00

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

Windows for business Windows Client for IT Pros Devices and deployment Other
Microsoft 365 and Office Word For business Windows
Developer technologies Visual Basic for Applications
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Paul Edstein 571 Reputation points
    2022-03-18T23:17:03.08+00:00
    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.