View Single Post
 
Old 01-30-2025, 07:15 AM
cabenco2 cabenco2 is offline Windows 10 Office 2016
Novice
 
Join Date: Jan 2025
Posts: 3
cabenco2 is on a distinguished road
Default Populate Content Control Dropdowns from Excel

I have entered the code from https://www.msofficeforums.com/word-...op-down-3.html to complete this task for my
purposes, however, I am receiving a run-time error 5941:
Quote:
Requested member of the collection does not exist.
It is happening on the
Code:
ActiveDocument.SelectContentControlsByTitle("District Name")(1).DropdownListEntries.Clear
I titled the combo box District Name, so I changed "ID" to that I have tried changing the title in excel, but it does not seem to want to take it. The Tag is 1, so I left that alone. What am I doing wrong?