AW: Überschift
12.07.2007 23:48:00
Tobias
Danke .. ich habe es jetzt so gelöst das ich eine neue Listbox mit der Überschrift gemacht.
Eine Frage habe ich jetzt noch ...
in der 3. Spalte habe ich viel Text der in der Datei wo die Daten hergenommen werden in 3 Spalten stehen
Ich habe es jetzt so gemacht das mir alle Daten angezeigt werden ..
ListBox2.AddItem
ListBox2.List(i, 0) = rng.Offset(0, -17) & " " & rng.Offset(0, -16)
ListBox2.List(i, 1) = "| " & rng.Offset(0, -7)
ListBox2.List(i, 2) = "| " & rng.Offset(0, 86)
ListBox2.List(i, 3) = "| " & rng.Offset(0, 97)
ListBox2.List(i, 4) = "| " & rng.Offset(0, 98)
ListBox2.List(i, 5) = "| " & rng
i = i + 1
ListBox2.AddItem
ListBox2.List(i, 0) = " "
ListBox2.List(i, 1) = " "
ListBox2.List(i, 2) = "| " & rng.Offset(0, 87)
ListBox2.List(i, 3) = "| "
ListBox2.List(i, 4) = " "
ListBox2.List(i, 5) = " "
i = i + 1
ListBox2.AddItem
ListBox2.List(i, 0) = " "
ListBox2.List(i, 1) = " "
ListBox2.List(i, 2) = "| " & rng.Offset(0, 88)
ListBox2.List(i, 3) = "| "
ListBox2.List(i, 4) = " "
ListBox2.List(i, 5) = " "
i = i + 1
Loop
Meine Frage jetzt ... kann ich die 3. oder auch zweite Spalte nicht aufrufen falls in dem Offset Feld 88 bzw. 87 nichts steht ?