How do I put both of these two subs into the same Worksheet Change Event???
[VBA]If Not Intersect(Target, Sheet("Deleted Data").Range("A2:A1000")) Is Nothing Then
Target.Offset(0, 1) = Format( Now()("dd/mm/yy")[/VBA]
[VBA]Private Sub Worksheet_Change(ByVal Target As Range)
Dim Cell As Range
For Each Cell In Target
With Cell
If .Column = Range("A:A").Column Then
Cells(.Row, "B").Value = Format(Now, "mmm-dd-yyyy hh:mm:ss")
Cells(.Row, "D").NumberFormat = "mmm-dd-yyyy"
Cells(.Row, "E").NumberFormat = "mmm-dd-yyyy"
End If
End With
Next Cell
If Not Intersect(Target, Me.Range("B:B", "E:E")) Is Nothing Then
Me.Columns("A:E").Sort Key1:=Me.Range("D2"), Order1:=xlAscending, _
Key2:=Me.Range("B2"), Order2:=xlAscending, _
Header:=xlYes
End If
End Sub[/VBA]