title: how do I express the term if x is integer in VBA language?
body: <p>how do I  express  the term if x is integer in VBA language ? 
  I want to write a code that does something if x is integer and does something else if its not with vba excel. </p>
  
  <pre><code>Sub dim()
    Dim x is Variant
  
    'if x is integer Then 
  
    'Else:
  
  End Sub 
  </code></pre>