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

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,218,691
Messages
6,143,943
Members
450,516
Latest member
shironokuro

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