Hello,
the code below works fine but if we can modify it little bit,
where when we remove the text the date will clear from the cell,
right now when you clear the text , the date stays...
Private Sub Worksheet_Change(ByVal target As Range)
If Not Intersect(target, Range("B:B")) Is Nothing Then
target.Offset(0, -1).Value = Date
End If
End Sub
thanks
Private Sub Worksheet_Change(ByVal target As Range)
If Not Intersect(target, Range("B:B")) Is Nothing Then
If target.Value = "" Then
target.Offset(0, -1).ClearContents
Else
target.Offset(0, -1).Value = Date
End If
End If
End Sub
i have cells A1 B1 C1 contains formulas, they are not used yet,
when they are used and having data, I want just the formulas to jump
automatically to A2 B2 C2 cells,
and so on to jump to A3 B3 C3....... ( Just the formulas because the values will differ)
One other thing please; i want to create a user name for this macro enabled workbook so no body can copy it, and to hide the code so they cant disable
it.
many thanks
Khalil
thanks for help man,
the code works, but their is an issue here , when i save the codes and copy paste any row or copy past the work book , the codes will quit functioning,
then i must cut the code an paste it again and save, in order to work