Hi,
I've got a list view control and i need to add items to this list view. what i did was the following simple code:
Dim list_item As ListItem
Set list_item = LV_Members.ListItems.Add(, , "VBA Testing")
list_item.SmallIcon = 1
But it generated an error stating "Type Mismatch", when initializing list_item. Does anyone know why?
Thanks guys,
Sanjna...
I've got a list view control and i need to add items to this list view. what i did was the following simple code:
Dim list_item As ListItem
Set list_item = LV_Members.ListItems.Add(, , "VBA Testing")
list_item.SmallIcon = 1
But it generated an error stating "Type Mismatch", when initializing list_item. Does anyone know why?
Thanks guys,
Sanjna...