vlt so:
16.06.2010 22:00:16
CitizenX
Hallo Armin,
Probiere mal das:
Private Sub CommandButton1_Click()
Dim lngLastRow As Long, lngZeile As Long, lngSpalte As Long
Dim myBereich
Const myWert = 0
With Sheets("Tabelle1")
myBereich = .Range(.Cells(1, 1), .Cells(109, 10))
For lngZeile = 10 To Ubound(myBereich, 1)
For lngSpalte = Lbound(myBereich, 2) To Ubound(myBereich, 2)
If .Cells(lngZeile, lngSpalte) > myWert Then
lngLastRow = Sheets("Tabelle2").Cells(Rows.Count, lngSpalte).End(xlUp).Row + 1
Sheets("Tabelle2").Cells(lngLastRow, lngSpalte) = .Cells(lngZeile, lngSpalte)
End If
Next lngSpalte
Next lngZeile
End With
End Sub
viele Grüße
Steffen