Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$B$3" Then
If Target.Value > DateSerial(2003, 7, 5) Then
testmail
End If
End If
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$B$3" Then
If Target.Value > DateSerial(2003, 7, 5) Then
ActiveSheet.Copy
ActiveWorkbook.SendMail "(e-mail address removed)", _
"This is the Subject line"
ActiveWorkbook.Close False
End If
End If
End Sub