Re: Array Reference

From: Kou Vang (KouVang_at_discussions.microsoft.com)
Date: 12/28/04


Date: Tue, 28 Dec 2004 11:27:04 -0800

The filter function may work, but how do I use the Value criteria in the
function, if I'm trying to reference it from the listview? Here is my code
thus far:

Dim TypArray
Dim DataTyp As String

Set DataType = lstbox1.Selected(I)
TypArray = _
    Filter(strArray, DataTyp, False, vbTextCompare)
    lstbox2.AddItem TypArray(I) + 1
    Lstbox3.AddItem TypArray(I) + 2

The last part is to add the two lines after the selected line in the
one-dime array into 2 seperate listviews.