I have got a userform in Excel -VBE,
I added a ListView Control and a imagelist control
How obtain a link between both controls?
The Options of ListView "Icon Image List" are Empty.
Why?
__________________
I have got a userform in Excel -VBE,
I added a ListView Control and a imagelist control
How obtain a link between both controls?
The Options of ListView "Icon Image List" are Empty.
Why?
__________________
I don't know what an imagelist control is. Maybe you can explain your goal.
If you attach an xls, it would be easier to help.
Link the imaglist to the list view like this
[VBA]With Me.listview1
.Icons = imagelist1
'add your items to the listview
.ListItems.Add , , entDesc, idx
End With
[/VBA]
You then need to add your images to the imagelist control either directly using the browser or by code
imagelist1.ListImages.Add Picture:=LoadPicture(file)
Thank you Lifeson
I will try and after i will make the comment