I'm using this code in my sheet to get the date in the "L" column if any data is entered in the "B" column cells.
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Cell As Range
For Each Cell In Target
With Cell
If .Column = Range("B:B").Column Then
Cells(.Row, "L").Value = Int(Now)
End If
End With
Next Cell
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
End Sub
It works fine .... but when it reach the row B:7152 stops adding the date on the "L:7152" when I add any data to the "B" cells on that row and below that row. Can anyone tell me how to change this for happening? Any way I can fix this? , meaby any other code? .. I tried few things but it did not work.
Regards.
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Cell As Range
For Each Cell In Target
With Cell
If .Column = Range("B:B").Column Then
Cells(.Row, "L").Value = Int(Now)
End If
End With
Next Cell
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
End Sub
It works fine .... but when it reach the row B:7152 stops adding the date on the "L:7152" when I add any data to the "B" cells on that row and below that row. Can anyone tell me how to change this for happening? Any way I can fix this? , meaby any other code? .. I tried few things but it did not work.
Regards.