title: VBA isString vs isNumeric
body: <p>I am validating data that is in some textboxes in a VB userform in Excel. </p>
  
  <p>The data can either be a number that is 6-digits long, a string that is at least 3 characters long, or a combination of string and digits.</p>
  
  <p>To do this I wrote:</p>
  
  <pre><code>If Len(Trim(Me.TextBox1)) = 6 And IsNumeric(Trim(Me.TextBox1)) Then
    (do operation)
  Elseif Len(Trim(Me.TextBox1)) &gt; 2 and IsString(Trim(Me.TextBox1)) Then
    (do another operation)
  Else
    (do third operation)
  End if
  </code></pre>
  
  <p>I can make it work with <code>isNumeric</code>, but it seems VBA does not support <code>isString</code>.</p>
  
  <p>Is there a clever work around to solve this issue?</p>