Share via

Dynamic Templates

Anonymous
2024-12-17T18:56:25+00:00

Is there a way in word to create a dynamic template for client meetings.

Currently: I have 2 clients, one buys product A and one buys product B, so i have two templates, one for people who buy product A and one for people who buy product B. Don't ask why i need two templates, they just require different standards for each product.

But within those two templates there some "standard information" i need on the template like: name, address, time of meeting, etc. currently, when something changes with the template, i have to change it on both templates and don't like that, i want a standard template, and then with dropdowns or something i can set custom note templates for each product, so i can open one document and be able to set the parameters based on what type of client i am talking to. Is this an A or B client.

In reality, i have about a dozen of these different templates and i don't like every time i change one thing i have to go back and edit all of them.

Note: i know how to use dropdowns, but i need my dropdown to insert multiple lines, with formatting and bullet points etc.

example if i were to select the Client A in my dream template

Client A:

  • How long have you used this product?
  • Are you looking to change products soon?

hopefully this makes sense

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

5 answers

Sort by: Most helpful
  1. Jay Freedman 207.6K Reputation points Volunteer Moderator
    2024-12-17T19:47:20+00:00

    I'd suggest adding AutoText entries to your "single" template, and using a macro to drop them into the current document when you make a selection in the dropdown for the client.

    For each part of the document that needs to change per client, you may need as many AutoText entries as there are clients, or fewer if some of the clients get the same text in that part. You'll want to establish a logic naming convention for the entries, so the macro can select the correct entry for a given part and a given client.

    The kind of macro you need depends on which type of controls (content controls or legacy form fields) you intend to use. That choice in turn depends on whether you need to type or paste information into any places in the document that aren't within a control or field.

    • If you use content controls, the macro should be named Document_ContentControlOnExit and stored in the ThisDocument module of the template. That causes the macro to be called automatically whenever the cursor exits from any content control. The code that goes inside the macro first checks that the control being exited is the client dropdown. If that's OK, then it uses the value of the dropdown to choose the AutoText entries to insert at bookmarks in the body of the document.
    • If you use legacy form fields, the dropdown field has a place in its Properties dialog where you can specify the name of a macro to run when the cursor exits from that specific field. As for the content controls, the macro (which belongs in an ordinary module) uses the value of the dropdown to choose the AutoText entries to insert at bookmarks in the body of the document.

    If you're unfamiliar with macro coding or just want a sample to work from, send an email to me at the address you'll find at https://jay-freedman.info/contact/contact.htm .

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-12-19T16:05:07+00:00

    Thank you also Charles. If i have other questions ill let you know

    1 person found this answer helpful.
    0 comments No comments
  3. Charles Kenyon 166.8K Reputation points Volunteer Moderator
    2024-12-17T21:14:44+00:00

    This is not a simple project. Following up on what Jay suggested about AutoText, you could use the Building Blocks Gallery Content Control to make individual choices.

    You can set up on-exit macros that would change content elsewhere in the document based on choices.

    Here are some resources:

    (Do take Jay up on his offer!)

    1 person found this answer helpful.
    0 comments No comments
  4. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  5. Anonymous
    2024-12-19T16:04:39+00:00

    Thank you Jay,

    I will look into this!

    0 comments No comments