View Single Post
 
Old 10-23-2023, 07:28 AM
Italophile Italophile is offline Windows 11 Office 2021
Expert
 
Join Date: Mar 2022
Posts: 554
Italophile is just really niceItalophile is just really niceItalophile is just really niceItalophile is just really nice
Default

It is not possible to tell from your screenshot what the item is, but it is possibly a content control that is showing its prompt text, i.e. no value has been selected. You can check for this by modifying your code:

Code:
If Not comboBox Is Nothing Then
    If comboBox.Type = wdContentControlComboBox Then
        If comboBox.ShowingPlaceholderText Then
            'no value has been selected
        Else: wert = comboBox.Range.Text
        End If
Reply With Quote