C
Carol G
I am trying to retrieve the text value from a listbox set to no multiselect.
What I have only retrieves the selected row number
How do I retrieve the contents of the row number as text.
Both .Value and .ListIndex return the row number only.
Thanks
Carol
With lstFullName
If MultiSelect = 0 Then
intRowNumber = .ListIndex
txtSelected = .Value
Debug.Print txtSelected & " value from Option list"
Debug.Print intRowNumber & "rn from Option list"
End If
End With
What I have only retrieves the selected row number
How do I retrieve the contents of the row number as text.
Both .Value and .ListIndex return the row number only.
Thanks
Carol
With lstFullName
If MultiSelect = 0 Then
intRowNumber = .ListIndex
txtSelected = .Value
Debug.Print txtSelected & " value from Option list"
Debug.Print intRowNumber & "rn from Option list"
End If
End With