I am using a ListView control (6.0 i think) to sort some strings.
It has properties Visible=False and Sorted=Yes.
Then I run a loop that adds items one by one, and then gets the items out again (this time they will come out in sorted order - the whole point of the operation)
However, when i do:
I get error that the object doesn't support this method???
I took the code from my VB Project where it worked just fine on a Listbox.
How are items added with VBA in a ListView control?
It has properties Visible=False and Sorted=Yes.
Then I run a loop that adds items one by one, and then gets the items out again (this time they will come out in sorted order - the whole point of the operation)
However, when i do:
Code:
Listitem = "oneoftheitems"
ListView.AddItem Listitem
I took the code from my VB Project where it worked just fine on a Listbox.
How are items added with VBA in a ListView control?