title: If IsError in VBA?
body: <p>Is it possible to use something with similar functionality as Iferror(value, value_if_error) or Iserror(value) in VBA?</p>
  
  <p>I tried to write:</p>
  
  <pre><code>If IsError(Cells(i, c) / curr) Then
  'CODE BLOCK 1
  else
  'CODE BLOCK 2
  end if
  </code></pre>
  
  <p>But VBA tells me that I have division by zero error when it tries to run the if-statement. It throws me into debug. But this is just the type of thing I want to trigger CODE BLOCK 1!</p>