title: VB error catching
body: <p>My code is as below </p>
  
  <pre><code> conDB.Execute strSQL, recordsAffected
           Sheet1.Cells(intStart, 5) = IIf(recordsAffected &gt; 0, "Success", "Failure")
  </code></pre>
  
  <p>Intread of printing failure i want to print the error description. I tried </p>
  
  <pre><code>Sheet1.Cells(intStart, 5) = IIf(recordsAffected &gt; 0, "Success", Err.Des)
  </code></pre>
  
  <p>but it doesn't work. Any ideas?</p>