DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub Worksheet_Change(ByVal Target As Range)
On Error Resume Next
If Target.Column <> 2 Then Exit Sub
Target.Offset(0, -1) = Format(Now, "dd.mm.yyyy hh:mm")
If Target.Value = "" Then
Target.Offset(0, -1) = ""
End If
End Sub
. . .ekte gibi b1 e birşey girinc a1 e o anki ssat ve tarihi atsın silince de silsin bunu eğerli yaptığımda yarın açınca yarn ki tarihiveriyor ben ise o anki tarihi kayıt altına tutmak istiyorum
Private Sub Worksheet_Change(ByVal Target As Range)
On Error Resume Next
Dim s As Long
If Intersect(Target, Range("b2:b65536")) Is Nothing Then Exit Sub
Target.Offset(0, 6) = Format(Now, "dd.mm.yyyy hh:mm")
If Target.Value = "" Then
Target.Offset(0, 6) = ""
End If
For i = 2 To Range("b65536").End(3).Row
If Cells(i, 2).Value = "" Then
Cells(i, 1).Value = ""
Else
s = s + 1
Cells(i, 1).Value = s
End If
Next i
End Sub