The code below works but only the first one. If I change the order and step through it will give me the user name. I have been searching the web but I'm not using the right search criteria. Help would be greatly appreciated.
Code:
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
Dim newRange As Range
Set newRange = ActiveCell.Offset(0, -1)
Dim uName As String
uName = Environ("username")
Dim dTeRange As Range
Set dTeRange = ActiveCell.Offset(0, 1)
Dim dTe As Date
dTe = Date
If newRange.Column = 6 Then
dTeRange = dTe
If newRange.Column = 6 Then
newRange.Value = uName
End If
End If
End Sub