title: Excel VBA simple if not statement
body: <p>I am trying to run a relatively simple loop to pull out values I don't want from a list.</p>
  
  <p>Everything below is working correctly other than my "Not" statement which does not create an error... </p>
  
  <p>it just doesn't seem to do anything at all.</p>
  
  <pre><code>Set myRange = Range("A49:A150")
  For Each myCell In myRange
      If myCell Like "*msn.com*" Or _
          myCell Like "*messaging.microsoft.com*" Or _
          Not myCell Like "*.com*" Then
          myCell.Delete
      End If
  Next myCell
  </code></pre>
  
  <p>I am fairly certain I have a simple mistake in here somewhere but I have been unable to find it.</p>