hi,
I can't figure this out. I've added the Microsoft Office 8.0 Object Library (just like microsoft suggested) and I am still getting this error: Method or data member not found.
I am trying to use the .RemoveItem method on my listbox.
I would like to remove the selected items from the list.
I can't figure this out. I've added the Microsoft Office 8.0 Object Library (just like microsoft suggested) and I am still getting this error: Method or data member not found.
I am trying to use the .RemoveItem method on my listbox.
I would like to remove the selected items from the list.
Code:
If lst2.ListIndex >= 0 Then
lst2.RemoveItem lst2.ListIndex
End If