Hello,
With the code below the cell F is populated with the date of today when there is data entered in cell E.
I would like that when the data in Cell F is removed (empty cell) the date in cell F is also removed.
Tried to add
below Next but then the data gets removed always and doesn't stay when there is data in cell E
Can someone help me with my request?
With the code below the cell F is populated with the date of today when there is data entered in cell E.
I would like that when the data in Cell F is removed (empty cell) the date in cell F is also removed.
Tried to add
VBA Code:
Else: Target.Offset(0, 0) = ""
Can someone help me with my request?
VBA Code:
If (Target.Count = 1) Then
If (Not Application.Intersect(Target, Me.Range("E:E")) Is Nothing) Then _
Target.Offset(0, 1) = Date
Application.EnableEvents = False
Set xRg = Application.Intersect(Target.Dependents, Me.Range("E:E"))
If (Not xRg Is Nothing) Then
For Each xCell In xRg
xCell.Offset(0, 1) = Date
Next
End If
Application.EnableEvents = True
End If