Hi all,
I have a listbox that is populated from values of an array. I would like to make each item of this listbox list, which is multiselect, a hyperlink to a picture file of the item. I think I would probably need to have the address of the picture as an attribute for each record in my excel table, so I could just reference to this cell for the address of the picture for each item, but I don't know how to make each selection in the list link to this address. I hope this is possible, and if not, hopefully someone has a suggestion around it. My code for populating the listbox is below. Thanks in advance,
Jeff
j = -1
p = 0
For i = 0 To NumBrands - 1
j = j + 1
If BrandChoices.Selected(j) = True Then
For n = 1 To NumAllBrands
If Brands(2, n) = SingBrands(j + 1) Then
WorkholdingChoices.WorkChoices.AddItem Brands(3, n)
p = p + 1
End If
Next
End If
Next
NumWorkholdings = p
I have a listbox that is populated from values of an array. I would like to make each item of this listbox list, which is multiselect, a hyperlink to a picture file of the item. I think I would probably need to have the address of the picture as an attribute for each record in my excel table, so I could just reference to this cell for the address of the picture for each item, but I don't know how to make each selection in the list link to this address. I hope this is possible, and if not, hopefully someone has a suggestion around it. My code for populating the listbox is below. Thanks in advance,
Jeff
j = -1
p = 0
For i = 0 To NumBrands - 1
j = j + 1
If BrandChoices.Selected(j) = True Then
For n = 1 To NumAllBrands
If Brands(2, n) = SingBrands(j + 1) Then
WorkholdingChoices.WorkChoices.AddItem Brands(3, n)
p = p + 1
End If
Next
End If
Next
NumWorkholdings = p