title: Excel VBA If statement mistakenly triggering
body: <p>OK, I have an If statement that shouldn't be triggering, but it is. Here's the current set-up:   </p>
  
  <pre><code>If HP.Value &gt; Range("HPMax").Value Then
      MsgBox (HP.Value &amp; "/" &amp; Range("HPMax").Value)
      HP.Value = Range("HPMax").Value
      MsgBox (HP.Value &amp; "/" &amp; Range("HPMax").Value)
   End If
  </code></pre>
  
  <p>I have the Message Boxes in to show me that it is indeed happening. currently HP is at 29, and HPMax is at 60.   </p>