wie kann man Werte aus ListBox1 (3x3) mit SVerweis bzw. SLookUp aus ListBox1 in ListBox2 verrechnen? Leider komme ich da nicht weiter.
Private Sub UserForm_Initialize()
Dim i As Single
Dim MyArray(6, 3)
ListBox1.ColumnCount = 4
ListBox2.ColumnCount = 4
'This list box contains 3 data columns
'Load integer values MyArray
For i = 0 To 4
MyArray(i, 0) = i
MyArray(i, 1) = Rnd
MyArray(i, 2) = Rnd
MyArray(i, 3) = Rnd
Next i
ListBox1.List() = MyArray
ListBox2.List() = MyArray
End Sub
Private Sub CommandButton81_Click()
Dim i As Single
Dim Temp As Single
' ListBox1.List(i, 0) = "s"
ListBox1.List(1, 0) = TextBox19
ListBox1.List(2, 0) = TextBox20
ListBox1.List(3, 0) = TextBox21
ListBox1.List(i, 0) = ""
ListBox1.List(i, 1) = TextBox19
ListBox1.List(i, 2) = TextBox20
ListBox1.List(i, 3) = TextBox21
ListBox2.List(i,1) = vlookup(............)
Und dort beim vlookup komme ich nicht weiter.