title: vba Excel 2010: convert string array into int array
body: <pre><code>Dim myarray(2) as Variant
  
  myarray(0)="3"
  myarray(1)="4"
  myarray(2)="5"
  myarray(3)="9"
  </code></pre>
  
  <p>I want it to become </p>
  
  <pre><code>myarray(0)=3
  myarray(1)=4
  myarray(2)=5
  myarray(3)=9
  </code></pre>
  
  <p>What there any way to make it with no loops, just in 1 line?
  This is for Excel 2010.</p>
  
  <p>I want something like this, but it doesn't work:</p>
  
  <pre><code>intArray = Array.ConvertAll(stringArray , Function(str) Int32.Parse(str))
  </code></pre>