Dim MyDate As Range
Set MyDate = Workbooks("Book2.xls").ActiveSheet.Range("K2")
If IsDate(MyDate) Then
If Not ActiveWorkbook.ActiveSheet.Range("D:D").Find(MyDate.Value, LookAt:=xlWhole) Is Nothing Then
' Date Match found in column D
' Run code here
Else
' No date match
Exit Sub
End If
Else
MsgBox "Cell K2 doesn't have a date in it."
End If