Select Content Control DropDown List Item
Hi,
I have a drop-down list content control with 3 items in the list:
- Death
- Illness
- Death and Illness
My user form allows the user to select which event and the content control should select the corresponding value in the document.
Here's my code:
Code:
Dim objCC As ContentControl
Dim objCE As ContentControlListEntry
If ddObjectivesLumpSumBasis.Value = "Death" Then
Set objCC = ActiveDocument.SelectContentControlsByTag("ccObjectivesLumpSumEvent").Item(1)
Set objCE = objCC.DropdownListEntries.Item(1)
objCE.Select
End If
My If Statement runs, but the content control in the document isn't updating.
Thanks in advance!
Stu