Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 2 Then
Dim lZeile As Long, lSpalte As Long
With Worksheets("Übersicht")
lSpalte = Application.Match(Cells(Target.Row, 1), .Rows(1), 0)
lZeile = .Cells(65536, lSpalte).End(xlUp).Row + 1
.Cells(lZeile, lSpalte) = Target
.Cells(lZeile, lSpalte - 1) = Date
End With
End If
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 2 Then
Dim lZeile As Long, lSpalte As Long
With Worksheets("Übersicht")
lSpalte = Application.Match(Cells(Target.Row, 1), .Rows(1), 0)
lZeile = .Cells(65536, lSpalte).End(xlUp).Row + 1
.Cells(lZeile, lSpalte) = Target
.Cells(lZeile, lSpalte - 1) = Date
End With
End If
End Sub