Hey, I can't figure this out for the life of me (it shouldn't be that difficult)
I created a combo box where only one value can be selected. Its Row source is a value list containing the following choices:
Unknown
Marine
Fresh
Tidal
The name of the combo box is ListClass. I have another dropdown that is a list of individual records. Each record has a field named Class that is eaither Unknown, Marine, Fresh or Tidal. I want to highlight the correct item in ListClass based on the selection from the other combo box. I've tried numerous things. How do you select an item in the combobox based off a value? Here's one of the things I've tried:
I created a combo box where only one value can be selected. Its Row source is a value list containing the following choices:
Unknown
Marine
Fresh
Tidal
The name of the combo box is ListClass. I have another dropdown that is a list of individual records. Each record has a field named Class that is eaither Unknown, Marine, Fresh or Tidal. I want to highlight the correct item in ListClass based on the selection from the other combo box. I've tried numerous things. How do you select an item in the combobox based off a value? Here's one of the things I've tried:
Code:
If Me.listSitesEdit.Column(2, i) = "Marine" Then
Me.listClass(1).Selected = True
MsgBox "got Here2"
End If