title: Subscript out of Range with ReDim (VBA)
body: <p>Could you please explain to me why this simple VBA code fails at the last line ("Subscript out of Range"):</p>
  
  <pre><code>    Dim test() As Variant
      ReDim test(0, 1)
      test(0,0) = "key"
      test(0,1) = 1
      ReDim Preserve test(1, 1)
  </code></pre>