Hi,
I've had a look around and done a few keyword searches, but I'm still a bit unsure as to how to populate a multi column combobox in excel.
Basically I've got this code for populating a single column combobox (well two single column comboboxes)
But what i'm aiming to do is have two columns in each combobox. The secound column is coming from adjacent cells to the first column and i was gonna call the range PSMNAME2, or of course i could just expand the area of the first range by another column...
I realise that this is something pretty basic, but any help would be appreciated...
Also i'm interested in referring to the value in the secound colun of the combobox for later use, can anybody help here as well...
Cheers guys (and/or girls)..
Dr
I've had a look around and done a few keyword searches, but I'm still a bit unsure as to how to populate a multi column combobox in excel.
Basically I've got this code for populating a single column combobox (well two single column comboboxes)
Code:
Dim c As Range
Me.ComboBox1.clear
Me.ComboBox2.clear
For Each c In Range("PSMNAME")
Me.ComboBox1.AddItem c.Text
Me.ComboBox2.AddItem c.Text
Next
But what i'm aiming to do is have two columns in each combobox. The secound column is coming from adjacent cells to the first column and i was gonna call the range PSMNAME2, or of course i could just expand the area of the first range by another column...
I realise that this is something pretty basic, but any help would be appreciated...
Also i'm interested in referring to the value in the secound colun of the combobox for later use, can anybody help here as well...
Cheers guys (and/or girls)..
Dr