![]() |
#1
|
|||
|
|||
![]()
I have a bunch of drop down lists, but I just realized that I actually need a combo box, where the user can manually enter a different response. Is there a simple way to migrate my all the display names and values from the drop down list to the combo box?
|
#2
|
||||
|
||||
![]()
What kind of dropdown?
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
I'm using drop down list content control and want to switch to combo box content control
|
#4
|
||||
|
||||
![]()
Try:
Code:
Sub Demo() Dim CCtrl As ContentControl For Each CCtrl In ActiveDocument.ContentControls With CCtrl If .Type = wdContentControlDropdownList Then .Type = wdContentControlComboBox End With Next End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
![]()
Thanks! That works!
|
#6
|
|||
|
|||
![]()
Can you please 'dumb this down' for me? I have multiple drop downs in my document, tried the below code in the visual basic block but it does not seem to work
![]() ![]() ![]() ![]() ![]() ![]() |
#7
|
||||
|
||||
![]()
If the code I posted isn't working for you, then your dropdowns aren't content controls.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#8
|
|||
|
|||
![]() Quote:
Windows 10 Office 365. The code works great!! Thank you very much, you saved me days of work! |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pasting a table with combo boxes to a new document looses the combo box | bobsut@enviro-consult.com | Word | 1 | 01-03-2017 01:29 PM |
Word 2010 Content Control help - Combo Boxes vs Drop Down List | proghy | Word | 1 | 09-16-2014 02:01 PM |
![]() |
laurarem | Word | 1 | 02-21-2013 10:17 PM |
Format Font Size in Combo Box List | lukewarmbeer | Word VBA | 0 | 08-27-2011 07:28 AM |
Bold list items in a combo box | DrewB | Word VBA | 0 | 07-17-2009 11:32 AM |