Hi
I have a Userform with more three comboboxes.
When the user has chosen a value in combobox "Forstevalg" I also want to get the value next to the value from the list.
Forstevalg is chosen from the list "Overskrifter" with this code:
With cbxSortering
.RowSource = "Overskrifter"
.ListIndex = 4
End With
I want to get the associated value "Unit" from the list next to it (named "Enheder")
Can you tell med the code for that?
Regards Annette
I have a Userform with more three comboboxes.
When the user has chosen a value in combobox "Forstevalg" I also want to get the value next to the value from the list.
Excel Workbook | ||||
---|---|---|---|---|
G | H | |||
15 | Overskrifter | Enheder | ||
16 | areal | m | ||
17 | rumhjde | m | ||
18 | luftskifte | /h | ||
19 | Antal personer | pers | ||
20 | Luftmngde per person | m/h pr pers | ||
21 | Sikkerhedsbnk antal | stk | ||
22 | Sikkerhedsbnk bredde | mm | ||
23 | Sikkerhedsbnk Min | m/h | ||
... |
Forstevalg is chosen from the list "Overskrifter" with this code:
With cbxSortering
.RowSource = "Overskrifter"
.ListIndex = 4
End With
I want to get the associated value "Unit" from the list next to it (named "Enheder")
Can you tell med the code for that?
Regards Annette