Patriot2879
Well-known Member
- Joined
- Feb 1, 2018
- Messages
- 1,259
- Office Version
- 2010
- Platform
- Windows
Hi i have used your code below, but i want to add time to the date in Row Q can you help me please?
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Changed As Range, Rw As Range
Set Changed = Intersect(Target, Union(Range("H:H"), Range("H:H")))
If Not Changed Is Nothing Then
Application.EnableEvents = False
For Each Rw In Changed.Rows
Cells(Rw.Row, "P").Value = Environ("Username")
Cells(Rw.Row, "Q").Value = Now
Next Rw
Application.EnableEvents = True
End If
End Sub