Hello guys
I'm trying to Retrieve from 2 Dropdown Elements the Values.
And by an certain value ( example "hidden" ) the Content control should be
hidden .
And These case sould by query independent for both Content controls.
So i think i Need 1 certain value for each Content control element.
I'm not so familar with the vba things in word ...
Edit:
So now i found some vba code :
Code:
Function getCCValue(cc As ContentControl)
Dim ccLE As ContentControlListEntry
For Each ccLE In cc.DropdownListEntries
If ccLE.Text = cc.Range.Text Then
getCCValue = ccLE.Value
Exit For
End If
Next
End Function
Thanks
I think these code ther is an Collect from all Values from the Dropdownlist's is it right ?
The i Need the Definition by cases for Dropdown list1 and Dropdown list 2.
regards John s.