title: #DIV/0! error and replace it with zero
body: <p>I am trying the below code to detect DIV/0 error and replace it with Zero or empty cell. but ** line is throwing me error</p>
  
  <pre><code>Dim Cell As Range
  Dim iSheet as Worksheet
  For Each iSheet In sheets(Array("Sheet1", "Sheet2", "Sheet3"))
      With iSheet
          For Each Cell In .UsedRange
              **If Cell.Value = CVErr(xlErrDiv0) Then Cell.Value = 0**
          Next Cell
      End With
  Next iSheet
  </code></pre>