title: Function IsEmpty() for Array
body: <p>I would like test if my array is empty or not.</p>
  
  <p>I tried to use the function <code>IsEmpty()</code>, but the function returns always <code>False</code>. And don't enter in the if condition.</p>
  
  <p>My code below :</p>
  
  <pre><code>Sub Freeze()
  
      Dim tab_freeze() as variant
  
      If IsEmpty(tab_freeze) Then
          ReDim tab_freeze(0)
      Else
          ReDim Preserve tab_freeze(UBound(tab_freeze) + 1)
          tab_freeze(UBound(tab_freeze)) = "As you want here"
       End If
  
  End Sub
  </code></pre>
  
  <p>I would like function to know if my array <code>tab_freeze</code> is empty or not.
  Or understand why <code>IsEmpty(tab_freeze)</code> returns <code>False</code> the first time.</p>