title: VBA Excel Not Like String If Statement
body: <p>I'm trying to write an "If" statement that checks to see if a the Key that corresponds to a Player object in a (Scripting.)Dictionary called Players has a String value that contains the letter "P."  </p>
  
  <p>I must be missing some VBA syntactical sugar, but I can't seem to find the answer to what I'm doing wrong anywhere.</p>
  
  <p>My statement right now is:</p>
  
  <pre><code>For Each Key In Players.Keys()
      If Not (Players(Key).Position Like "*P*") Then 'something'
      End If
  Next Key
  </code></pre>
  
  <p>However, it selects the first dictionary entry it loops through even though the Position property has a P in it.</p>
  
  <p>In this case Player(Key).Position = "RP," which I would like to then skip over the "Then" statement.  It currently does not work.</p>
  
  <p>Any help would be appreciated.</p>
  
  <p><strong>Edit</strong></p>
  
  <p>The Player class is: </p>
  
  <pre><code>'Class Module: Player
  Public Name As String
  Public Position As String
  Public WAR As Double
  </code></pre>