Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-30-2025, 07:15 AM
cabenco2 cabenco2 is offline Populate Content Control Dropdowns from Excel Windows 10 Populate Content Control Dropdowns from Excel Office 2016
Novice
Populate Content Control Dropdowns from Excel
 
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?
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Populate Content Control Dropdowns from Excel Dependent Content Control Dropdowns without VBA? WeldEngineer Word 4 06-13-2022 04:40 PM
Populate Word content control fields with data from Excel Kapluke Word VBA 8 01-10-2022 05:39 AM
Populate Content Control Dropdowns from Excel Content Control Dropdowns - How to duplicate the content control and allow a second choice ashleyf Word VBA 2 03-19-2020 09:11 AM
Populate Content Control Dropdowns from Excel Calculated field using Content Control Dropdowns JNMBeaudesert Word 2 12-19-2019 12:11 AM
Populate Content Control Dropdowns from Excel Populate Content Control Dropdowns from Excel Deirdre Kelly Word VBA 23 09-07-2017 02:51 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:43 AM.


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