![]() |
|
|||||||
|
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
||||
|
||||
|
The first option in a dropdown list is normally the placeholder text and if you set the value to "" or vbNullString as in Greg's macro the placeholder text should be displayed. You can however select any item in the list using the following -
Code:
Case Is = wdContentControlDropdownList
oCC.Type = 1
oCC.Range.Text = vbNullString
oCC.Type = wdContentControlDropdownList
oCC.DropdownListEntries.Item(2).Select
or even Code:
Case Is = wdContentControlDropdownList
oCC.DropdownListEntries.Item(2).Select
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Content Controls - Dependent Dropdown
|
someazguy | Word VBA | 14 | 02-05-2023 08:01 PM |
Clear Button For Specific Content Control
|
shaun0406 | Word VBA | 6 | 06-14-2021 10:55 AM |
Content Controls - Dependent Dropdown & Text
|
Mightymegs | Word VBA | 6 | 05-18-2020 05:34 AM |
| Clear Values from All Controls on Form | ScottyBee | Word VBA | 2 | 04-02-2019 09:55 AM |
Add new row to protected form including content controls via Command Button
|
tbrookes | Word VBA | 5 | 06-20-2016 02:48 AM |