(29.10.2018, 14:40)Flotter Feger schrieb: Hallo,
eine allerletzte Hilfe ...
ReDim Preserve arr(0 To 6, 0 To iRowU) '<-- hier legst du fest, wie groß das Array sein darf ... 0 to 6 ist die Spaltenanzahl
das habe ich auch so gemacht, ich habe als Bsp von 0 to 7 gemacht
ReDim Preserve arr(0 To 7, 0 To iRowU)
arr(0, iRowU) = .Name
arr(1, iRowU) = rng.Address(False, False)
arr(2, iRowU) = .Cells(rng.Row, 1)
arr(3, iRowU) = .Cells(rng.Row, 2)
arr(4, iRowU) = .Cells(rng.Row, 3)
arr(5, iRowU) = .Cells(rng.Row, 4)
arr(6, iRowU) = .Cells(rng.Row, 5)
arr(7, iRowU) = .Cells(rng.Row, 6)
iRowU = iRowU + 1
[
Bild bitte so als Datei hochladen: Klick mich!]
Als Ergebnis wird aber das 7 Feld nicht gefüllt
Bitte hier nochmal unterstützen, wirklich jetzt das Letze mal:).
Vielen Dank