title: How to check for an empty field read into a VBA date
body: <p>I have a VBA date variable reading and taking on the value of a field in Excel:</p>
  
  <pre><code>dim myDate as Date
  myDate = MySheet.Range("A1").Value
  </code></pre>
  
  <p>Now, if A1 is empty, and I print the value o myDate it gives me</p>
  
  <pre><code>12:00:00 AM
  </code></pre>
  
  <p>How do I check for this in an IF statement? As in, what do I replace ??? with below:</p>
  
  <pre><code>if myDate = ??? then
      MsgBox ("There is nothing in the field")
  Else
      MsgBox (myDate)
  End If
  </code></pre>