title: Excel VBA Application.iferror() is not handling a div/0 error
body: <p>I have a very simple UDF program.  I have one line in it, that divides two numbers. I am needing to have the IFERROR return a value when it gets an error.
  In my program, the Testrange(1) contains 90, and testrange(4) contains 0.
  My UDF crashes and returns a Value error.</p>
  
  <p>Here is my code.</p>
  
  <pre><code>Function myTestRange(TestRange As Range, myvol As Integer, myType As String) As Variant
  
      myTestRange = Application.IfError(TestRange(1) / TestRange(4), 4567)
  
  End Function
  </code></pre>
  
  <p>I was looking at Microsoft's page on the IFERROR function and it seems to list that a div/0 is one of the errors that it handles.</p>
  
  <p>Thanks for any help on this.
  Rich</p>