Hi all i need some help with a vba code.What i would like is a date stamp placed in a list in a worksheet in a shared workbook when each user updates their particular tab in the workbook.The date stamp need to include user name date and time in the following format username dd/mm/yy hh:mm:ss.This also needs to be blank if the user has not updated their sheet.I have pasted below what i am currently using although this does not give me seconds or blank if not updated.
[code[
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Row >= 3 And Target.Row <= 1000 And Target.Column >= 4 Then
Cells(1, Target.Column) = Now()
Cells(2, Target.Column) = Application.UserName
End If
End Sub
[/code]
Thanks
[code[
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Row >= 3 And Target.Row <= 1000 And Target.Column >= 4 Then
Cells(1, Target.Column) = Now()
Cells(2, Target.Column) = Application.UserName
End If
End Sub
[/code]
Thanks