Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #14  
Old 01-29-2023, 08:37 PM
shanshan89 shanshan89 is offline Content Controls - Dependent Dropdown Windows 10 Content Controls - Dependent Dropdown Office 2019
Novice
 
Join Date: Jul 2022
Posts: 17
shanshan89 is on a distinguished road
Smile Simple List + Conditional Dropdown List repeated in Multiple Tables

Dear all,

I would like to create 3 tables, each table containing 2 word dropdown lists "Category" and "Subcategory" (see attached dotm file "Category and Subcategory.dotm") imported from an excel (see attached excel file "Sample Question.xlsm"). "Subcategory" dropdown list is dependent on the "Category" dropdown list. For example, if the user selects "A" under "Category", he will only see options "A1", "A2", "A3", "A4" under the "Subcategory" dropdown list. If the user selects "B" under "Category", he will only see options "B1", "B2", "B3", "B4" etc.

All the values in the word dropdown list must be imported from the excel and not hardcoded within the word document.

In addition, if the user doesn't require all 3 tables, he can choose to delete 1 or 2 or 3 tables.

Appreciate if someone could assist on the VBA codes for this.

Thanks!
Attached Files
File Type: dotm Category and Subcategory.dotm (32.4 KB, 8 views)
File Type: xlsm Sample Question.xlsm (9.1 KB, 5 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Content Controls - Dependent Dropdown Dependent lists using content control SJPG Word VBA 4 01-05-2018 02:21 AM
Macro to save docx to doc that checks compatibility and converts content controls to static content. staicumihai Word VBA 4 10-12-2016 08:23 PM
Dropdown dependent text JakeLRL Word VBA 7 04-07-2016 08:26 AM
make text form field active dependent on dropdown Glenn0004 Word VBA 1 06-23-2015 06:13 PM
Word drop-down content control dependent display issue vvcat Word 6 02-03-2015 11:20 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft