How to auto-populate combobox values in Word 365 form based on other content control (text) inputs on same form

Genevieve Lariviere 20 Reputation points
2025-03-25T16:45:56.7866667+00:00

I've set up a form in Microsoft Word (365) containing a number of Rich Text Content Control inputs. I would like to add Combo box content control with values that auto-populate based on the Rich Text Content control inputs.

The image below shows the Rich Text content in the Tasks table that I'd like to draw upon for combo box values. These are shown in the "Task n Name" fields. I've shown an example of what the rich text input might look like; one or all of the task inputs may be filled.

RICH TEXT INPUT

I'd like the combo boxes in the "Task Name" field of the subsequent Subtasks table to populate based on Task name inputs from above. In this example, the dropdown values would be "OPERATIONS" and "REPORTING". Is there an easy way to accomplish this? I'm not versed in VBA, but I have colleagues that are, so if I can get some direction or examples of code that would facilitate this, I can work with them on it. Thank you so much!

CBO INPUT

Word Management
Word Management
Word: A family of Microsoft word processing software products for creating web, email, and print documents.Management: The act or process of organizing, handling, directing or controlling something.
999 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jay Freedman 91 Reputation points
    2025-04-07T00:19:00.53+00:00

    Charles is correct that this requires programming. I've prepared a sample template that works, which you can download from my site at https://jay-freedman.info/TaskLists.zip .

    When you unzip the template TaskList.dotm, go into its Properties dialog and check the Unblock box. Then save the file in your Templates folder, and double-click it to create a document containing copies of the tables in your post. Add some task names in the first table, and then open any of the combo boxes in the second table. The combo boxes will all contain the same list of tasks from the first table.

    Open the macro editor and double-click the ThisDocument module in the TaskList project to examine the code. The comments explain each step in the macro, but be sure to ask here about anything that's confusing.

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Charles Kenyon 3,121 Reputation points
    2025-03-25T20:47:23.5133333+00:00

    First question: Why Rich-Text rather than Plain Text? Plain text controls allow tabbing to the next control and are simpler.

    Observation: This will require vba programming. If you are in an environment that allows macros to run, see: https://gregmaxey.com/word_tip_pages/link_content_to_dropdown_list.html.


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.