Image Combobox

barissh

Board Regular
Joined
Aug 10, 2006
Messages
94
Hello,

I am very very new with Image Combo and I tryed everything but something goes wrong and it won't work. Ok, let me explain situation.

I have a userform. And I added imagecombo1 and imagelist1 as well. I right clicked to imagelist, Proporties and then Custom. Then I inserted my images sample1, sample2, sample3 from picture tab. And I added same names with pictures to Key part. I also assigned from 1 to 3 for each picture from index part. Then I wrote blw codes to userform.
So what is next ?

<codes>
Private Sub Form_Load()
Me.ImageCombo1.ImageList = ImageList1
Me.ImageCombo1.Text = "VBCODES"
Me.ImageCombo1.ImageList = ImageList1
Me.ImageCombo1.ComboItems.Add 1, , "sample1", 1
Me.ImageCombo1.ComboItems.Add 2, , "sample2"
Me.ImageCombo1.ComboItems.Add 3, , "sample3"
'Me.ImageCombo1.ComboItems.Add.Image = ImageList1.ListImages.Item.Index
End Sub
</codes>
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,215,064
Messages
6,122,936
Members
449,094
Latest member
teemeren

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top