2 values are set up for each Listbox list item
- Display text
- Value
The value displayed for user selection is "Display Text", and after selection it is also the "Display Text"
My macro also extracts the selected "Display Text", but I want the other "value" (see the picture)
What is the correct syntax to use to get at the other value?
![]()
Sub SelectedValues() Dim cc As ContentControl For Each cc In Me.ContentControls Debug.Print cc.Range.Text Next cc End Sub
Bookmarks