Private Sub Worksheet_Change(ByVal Target As Range)
Dim ans As String
If Not Intersect(Target, Range("A:A,B:B")) Is Nothing Then
Application.EnableEvents = False
Select Case Target.Column
Case Is = 1
If Target.Cells.CountLarge > 1 Or IsEmpty(Target) Then Exit Sub
If Target.Value < Date Then
If MsgBox("This input is older than today !....Are you sure that is what you want ???", vbYesNo) = vbNo Then
Target.Value = ""
End If
End If
Case Is = 2
If Target = "*Activities" Then
ans = InputBox("Please enter the Activities cost.")
If ans <> "" Then
Cells(Target.Row, "N") = ans
Else
MsgBox "To Change the activity cost, you must choose a different item from the List !!"
Application.EnableEvents = True
Exit Sub
End If
End If
End Select
End If
Application.EnableEvents = True
End Sub